-
Hi, I have created an empty project with Jekyll and installed the "Just the docs" theme. The init scripts created a As this is purely documentation focused theme: is this disabled by default? I wanted to use the posts feature for changelogs. If you want to have a look, you can find my test repo here. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@SvenFlock you would just need to write some liquid code that searches through The Jekyll docs on posts are a good read if you're not familiar. Her'es a relevant snippet (that you would need to change to fit your purposes) <ul>
{% for post in site.posts %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul> |
Beta Was this translation helpful? Give feedback.
@SvenFlock you would just need to write some liquid code that searches through
site.posts
and renders whatever liquid/HTML you'd like. Just the Docs doesn't touch theposts
feature at all, other than adding the default layout to post pages.The Jekyll docs on posts are a good read if you're not familiar. Her'es a relevant snippet (that you would need to change to fit your purposes)