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:
parent
370cfa60e4
commit
9b6098674c
18
docs/blog.md
18
docs/blog.md
@ -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>
|
Loading…
x
Reference in New Issue
Block a user