-
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 #5
base: master
Are you sure you want to change the base?
Conversation
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: Create a blog post
This pull request looks great so far. ✨ You've just edited the _config.yml
file! As you work more with Jekyll, you'll see that the _config.yml
file is very important and can hold a lot of information.
We have some more work to do to create your blog. You can continue to make commits on your rahmot-patch-2
branch, and the pull request will update automatically.
⌨️ Activity: Add some content to your blog
-
On the "Code" tab, select your
rahmot-patch-2
branch -
Click Create new file
-
Name the file
_posts/YYYY-MM-DD-title.md
, but replace theYYYY-MM-DD
with today's date, andtitle
with the title you'd like to use for your first blog post- Jekyll is very particular about how you title blog posts. They must follow the convention shown above.
-
Type a quick draft of whatever you'd like to blog about. Remember, you can always edit it later
-
Scroll to the bottom and 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.
Checking your post
@rahmot I see you created a file, but there are a few things we need to address!
Take a look at your file and make sure it meets the following requirements:
- It is in the
_posts
directory - The filename starts with the correct date formatting: YYYY-MM-DD
- The filename includes a post title
- The filename uses the
.md
extension
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
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 7: Add blog post metadata
Your blog post is looking good - the naming can be tricky, but you got it right!
Just like the _config.yml
file had some special syntax, files in Jekyll use some special syntax, too. This special syntax 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 will add 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. You can read more about that here.
⌨️ Activity: Add Front Matter
-
Click the "Files Changed" tab in this pull request
-
Click on the pencil icon on the right side of the screen
-
Add the following content to the top of your blog post:
--- title: "YOUR-TITLE" date: YYYY-MM-DD ---
-
Replace YOUR-TITLE with a great title for your blog post
-
Replace YYYY-MM-DD with today's date
-
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.
Checking your front matter
Front matter is tricky at first! Let's take a look at how you did:
- You used dashes on the first and final line
- You added a page title surrounded in quotes
- You added a date using the correct format
Remember, your yaml front matter should be at the top of your blog post and it should look something like this:
---
title: "Your blog post title"
date: YYYY-MM-DD
---
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
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.
Checking your front matter
Front matter is tricky at first! Let's take a look at how you did:
- You used dashes on the first and final line
- You added a page title surrounded in quotes
- You added a date using the correct format
Remember, your yaml front matter should be at the top of your blog post and it should look something like this:
---
title: "Your blog post title"
date: YYYY-MM-DD
---
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
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.
Checking your front matter
Front matter is tricky at first! Let's take a look at how you did:
- You used dashes on the first and final line
- You added a page title surrounded in quotes
- You added a date using the correct format
Remember, your yaml front matter should be at the top of your blog post and it should look something like this:
---
title: "Your blog post title"
date: YYYY-MM-DD
---
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
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.
Checking your front matter
Front matter is tricky at first! Let's take a look at how you did:
- You used dashes on the first and final line
- You added a page title surrounded in quotes
- You added a date using the correct format
Remember, your yaml front matter should be at the top of your blog post and it should look something like this:
---
title: "Your blog post title"
date: YYYY-MM-DD
---
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
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.
Checking your front matter
Front matter is tricky at first! Let's take a look at how you did:
- You used dashes on the first and final line
- You added a page title surrounded in quotes
- You added a date using the correct format
Remember, your yaml front matter should be at the top of your blog post and it should look something like this:
---
title: "Your blog post title"
date: YYYY-MM-DD
---
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
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.
Checking your front matter
Front matter is tricky at first! Let's take a look at how you did:
- You used dashes on the first and final line
- You added a page title surrounded in quotes
- You added a date using the correct format
Remember, your yaml front matter should be at the top of your blog post and it should look something like this:
---
title: "Your blog post title"
date: YYYY-MM-DD
---
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
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.
Checking your front matter
Front matter is tricky at first! Let's take a look at how you did:
- You used dashes on the first and final line
- You added a page title surrounded in quotes
- You added a date using the correct format
Remember, your yaml front matter should be at the top of your blog post and it should look something like this:
---
title: "Your blog post title"
date: YYYY-MM-DD
---
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
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.
Checking your front matter
Front matter is tricky at first! Let's take a look at how you did:
- You used dashes on the first and final line
- You added a page title surrounded in quotes
- You added a date using the correct format
Remember, your yaml front matter should be at the top of your blog post and it should look something like this:
---
title: "Your blog post title"
date: YYYY-MM-DD
---
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
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.
Checking your front matter
Front matter is tricky at first! Let's take a look at how you did:
- You used dashes on the first and final line
- You added a page title surrounded in quotes
- You added a date using the correct format
Remember, your yaml front matter should be at the top of your blog post and it should look something like this:
---
title: "Your blog post title"
date: YYYY-MM-DD
---
⌨️ Activity: Edit your file
- Click the "Files Changed" tab in this pull request
- Click on the pencil icon on the right side of the screen
- Make adjustments based on the above errors
- Scroll to the bottom, and commit your changes
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.
I added changes to tittle, author, description and theme