07-19-2023, 04:30 PM
I'm wanting to use `Jekyll` as a CMS essentially, so I would like to take the content from a post and display it in a specific area of my website.
{% for post in site.posts %}
{{ post.content }}
{% endfor %}
This displays all of the content from all of the posts, however I'd like to take content from one post at a time. I'm fairly new to Jekyll, so I'm not sure if i'm supposed to add `YAML` front matter into my posts and target them with a "for post in site with `title_____"` post.content" of sorts.
Thank you!!
{% for post in site.posts %}
{{ post.content }}
{% endfor %}
This displays all of the content from all of the posts, however I'd like to take content from one post at a time. I'm fairly new to Jekyll, so I'm not sure if i'm supposed to add `YAML` front matter into my posts and target them with a "for post in site with `title_____"` post.content" of sorts.
Thank you!!