1
0
mirror of synced 2025-12-20 02:19:14 -05:00

Update content/pages/setting-up-a-github-pages-site-with-jekyll/adding-content-to-your-github-pages-site-using-jekyll.md

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
This commit is contained in:
Olayinka Atobiloye
2023-03-09 20:06:25 +01:00
committed by GitHub
parent 38eeab23d2
commit 840fb65b2a

View File

@@ -58,7 +58,7 @@ Your theme includes default layouts, includes, and stylesheets that will automat
{% data reusables.pages.navigate-site-repo %} {% data reusables.pages.navigate-site-repo %}
{% data reusables.pages.navigate-publishing-source %} {% data reusables.pages.navigate-publishing-source %}
3. Navigate to the `_posts` directory. 3. Navigate to the `_posts` directory.
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. 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. 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 ```shell
layout: post layout: post