From 872e40261217bd08eebb34eed266781d529dd8f6 Mon Sep 17 00:00:00 2001 From: Chris Daw Date: Wed, 2 Dec 2020 09:14:21 -0800 Subject: [PATCH] Correct `page` to `post` in Intro Docs (#1685) There is a typo in the proposed markdown for teaching users how to add a new post to their site. The `layout` yaml front matter should be `post` not `page` Here's a link to the typo https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll#adding-a-new-post-to-your-site Co-authored-by: hubwriter --- .../adding-content-to-your-github-pages-site-using-jekyll.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll.md b/content/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll.md index 86af154fae79..31bdf542311f 100644 --- a/content/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll.md +++ b/content/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll.md @@ -51,7 +51,7 @@ Your theme includes default layouts, includes, and stylesheets that will automat 4. Create a new file called _YYYY-MM-DD-NAME-OF-POST.md_, replacing _YYYY-MM-DD_ with the date of your post and _NAME-OF-POST_ with the name of your post. 4. Add the following YAML frontmatter to the top of the file, replacing _POST TITLE_ with the post's title, _YYYY-MM-DD hh:mm:ss -0000_ with the date and time for the post, and _CATEGORY-1_ and _CATEGORY-2_ with as many categories you want for your post. ```shell - layout: page + layout: post title: "POST TITLE" date: YYYY-MM-DD hh:mm:ss -0000 categories: CATEGORY-1 CATEGORY-2