1
0
Fork 0
forked from reudnetz/website
website/templates/blog.html

21 lines
650 B
HTML
Raw Normal View History

{% extends "page.html" %}
{% block content %}
{{ page.content | safe }}
{% set posts = get_section(path="blogposts/_index.md") %}
{% for post in posts.pages %}
<h2 class="fg8" style="margin-bottom: 0px;"><a
href="{{ get_url(path=post.path) }}" title="{{ post.title }}">{{ post.title }}</a></h2>
<p class="fg4" style="margin-bottom: 0px;margin-top: 0px;">{{ post.date }}</p>
<div class="fg12">
{% if post.summary %}
{{ post.summary | safe }}
{% else %}
{{ post.content | safe }}
{% endif %}
<hr style="margin-bottom: 1.5em">
</div>
{% endfor %}
{% endblock content %}