-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update _config.yml #4
base: main
Are you sure you want to change the base?
Conversation
It looks like your pull request description is empty, @201758. Did you know? By adding keywords to your pull request, you can automatically close issues. For example, if you type If you would like assistance troubleshooting the issue you are encountering, create a post on the GitHub Community board. You might also want to search for your issue to see if other people have resolved it in the past. Check below for next steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Step 5: Create a blog post
This pull request looks great so far. ✨ You've just edited the _config.yml
file! We have some more work to do to create your blog site. You can continue to make commits on your 201758-patch-1
branch and the pull request will update automatically.
⌨️ Activity: Add some content to your blog
Shortcut Note: Click this link to automatically complete steps 1-4.
-
On the "Code" tab, select your
201758-patch-1
branch. -
Click Create new file.
-
Name the file
_posts/YYYY-MM-DD-title.md
. -
Replace the
YYYY-MM-DD
with today's date, and change thetitle
of your first blog post if you'd like. Note: If you do edit the title, make sure there are hyphens between your words.- If your blog post date doesn't follow the correct date convention, you'll receive an error and your site won't build. For more information, see "Page build failed: Invalid post date".
-
Type a quick draft of your blog post. Remember, you can always edit it later.
-
Commit your changes to your branch.
Watch below for my response.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Step 6: Add blog post metadata
Now that you've created your Jekyll blog post file, we can add syntax to it. The syntax Jekyll files use is called YAML front matter. It goes at the top of your file and looks something like this:
---
title: "Welcome to my blog"
date: 2019-01-20
---
This example adds a title and date to your blog post. There are other useful things you could add here in the future like layouts, categories, or any other logic that is useful to you. For more information about configuring front matter, see the Jekyll front matter documentation.
⌨️ Activity: Add Front Matter to your Blog Post
-
Click the "Files Changed" tab in this pull request.
-
There are two files in the "Files Changed" tab, the
_config.yml
file and the_posts/YYYY-MM-DD-title.md
file. Make sure to edit the file in the_posts
folder. -
Click on the icon to edit on the right side of the screen.
-
Type the following content at the top of your blog post:
--- title: "YOUR-TITLE" date: YYYY-MM-DD ---
-
Replace YOUR-TITLE with the title for your blog post.
-
Replace YYYY-MM-DD with today's date.
-
Commit your changes to your branch.
No description provided.