Implement all posts page and button
This commit is contained in:
parent
66b051a508
commit
ee69b6e674
4 changed files with 47 additions and 0 deletions
15
_includes/all_posts.html
Normal file
15
_includes/all_posts.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% for post in site.posts %}
|
||||
<div id="posts">
|
||||
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
|
||||
<div class="" id="details">
|
||||
<div class="" id="date">{{ post.pub }}</div>
|
||||
<div class="" id="tags">
|
||||
{% for topic in post.topics %}
|
||||
<a href="/topics/{{topic}}.html">{{topic}}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<div id="desc">{{ post.short_desc }}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue