1
0
Fork 0
website/templates/posts_index.html

15 lines
435 B
HTML
Raw Normal View History

2023-03-25 16:14:53 +01:00
{% extends "base.html" %}
{% block main -%}
<h1>posts</h1>
<p>i occasionally write some stuff i guess</p>
<ul>
{% for post in posts -%}
<li><a href="{{post.absolute_path | safe}}">{% if post.frontmatter -%}
{{post.frontmatter.title -}}
{% else -%}
{{post.slug -}}
{% endif -%}
</a></li>
{% endfor -%}
</ul>
{% endblock main -%}