I have been reading everything at Jekyll Docs, but I couldn't find a way to do this.
By default when generating a web, jekyll displays a list of the links of all your blog posts. Is there a way to display the content of all your blog posts in the same page? (alla blogspot/wordpress/traditional blog...)
Found my solution from: This tutorial, which consists of editing index.md and adding the following:
{% for post in site.posts %}
<article>
<h2>
<a href="{{ post.url }}">
{{ post.title }}
</a>
</h2>
<time datetime="{{ post.date | date: "%Y-%m-%d" }}">{{ post.date | date_to_long_string }}</time>
{{ post.content }}
</article>
{% endfor %}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With