Make main page just a list of links to posts
This commit is contained in:
parent
3423332e0f
commit
8ba7e18a99
5 changed files with 13 additions and 6 deletions
|
|
@ -5,10 +5,12 @@
|
|||
{% block content %}
|
||||
{% set read_more = True %}
|
||||
|
||||
<h1>Latest Posts</h1>
|
||||
{% for post in posts %}
|
||||
{% with post_content = post.blurb|markdown %}
|
||||
{% include "post_base.html" %}
|
||||
{% endwith %}
|
||||
<div class="post-list-item">
|
||||
<span>{{post.date}}</span>
|
||||
<span><a href="{{post.url()}}">{{post.title}}</a></span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<div class="row">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue