1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-15 08:09:11 +08:00

basic html/liquid structure for listing posts with title, date and excerpt

This commit is contained in:
eliasrodrigo 2017-02-18 15:15:36 +01:00
parent 370cfa60e4
commit 9b6098674c

View File

@ -0,0 +1,18 @@
---
title: "Blog"
---
# Blog
Here you can learn more about SpaceVim with our tutorials and find out what's
going on.
<ul>
{% for post in site.posts %}
<li>
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
<span class="post-date">{{ post.date | date_to_string }}</span>
<h4>{{ post.excerpt | truncatewords: 100 }}</h4>
</li>
{% endfor %}
</ul>