blob: 08beb0a8ea40b7e02fe92f69c6a6f58c86dccb17 (
plain) (
tree)
|
|
{% extends "base.html" %}
{% block content %}
<section id="home-blurb">
{{ section.content | safe }}
</section>
<section class="subsections">
{% for sub in section.subsections %}
{% set s = get_section(path=sub) %}
<article>
<header>
<h1><a href="{{s.permalink | safe}}">{{ s.title }}</a></h1>
<div class="description">
{{ s.description | markdown | safe }}
</div>
</header>
<section class="post-list">
<h2>Siste innlegg:</h2>
<ul>
{% for post in s.pages | reverse %}
<li>
{{ post.date }}:
<a href="{{ post.permalink | safe }}">
{{ post.title }}
</a>
</li>
{% if loop.index == 5 %}{% break %}{% endif %}
{% endfor %}
</ul>
</section>
</article>
{% endfor %}
</section>
{% endblock content %}
|