diff options
Diffstat (limited to 'site/templates/section.html')
| -rw-r--r-- | site/templates/section.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/site/templates/section.html b/site/templates/section.html new file mode 100644 index 0000000..22594c4 --- /dev/null +++ b/site/templates/section.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block title %}{{ section.title | default(value="blog") }} ยท kassouni.net{% endblock title %} + +{% block content %} +{{ section.content | safe }} + +<ul class="post-list"> + {% for post in section.pages %} + <li> + <a href="{{ post.permalink | safe }}">{{ post.title }}</a> + {% if post.date %}<time datetime="{{ post.date }}">{{ post.date | date(format="%Y-%m-%d") }}</time>{% endif %} + </li> + {% endfor %} +</ul> +{% endblock content %} |