18 lines
478 B
HTML
Executable file
18 lines
478 B
HTML
Executable file
{% extends "page.html" %}
|
|
|
|
{% block content %}
|
|
{{ page.content | safe }}
|
|
{% set posts = get_section(path="blogposts/_index.md") %}
|
|
|
|
{% for post in posts.pages %}
|
|
<h2><a href="{{ get_url(path=post.path) }}" title="{{ post.title }}">{{ post.title }}</a></h2>
|
|
<p class="date">{{ post.date }}</p>
|
|
<div class="post-content">
|
|
{% if post.summary %}
|
|
{{ post.summary | safe }}
|
|
{% else %}
|
|
{{ post.content | safe }}
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
{% endblock content %}
|