blob: 91a335d387a1cfbd3d9dbe0183f3811911ba54d5 (
plain) (
tree)
|
|
{% extends "base.html" %}
{% block content %}
<div class="home">
<section id="home-blurb">
{{ section.content | safe }}
</section>
<ul class="subsections">
{% for sub in section.subsections %}
{% set s = get_section(path=sub) %}
<li><a href="{{s.permalink | safe}}">{{ s.title }}</a></li>
<ul class="post-list">
{% for post in s.pages %}
<article>
<header class="post-header">
<h1 class="post-title">
<a href="{{ post.permalink | safe }}">
{{ post.title }}
</a>
</h1>
<div class="post-meta">
{{ post.date }}
{% if post.taxonomies["tags"] | length > 0 %}
<ul class="post-tags">
{% for tag in post.taxonomies["tags"] %}
<li class="tag">{{ tag }}</li>
{% endfor %}
</ul>
{% endif %}
</div>
</header>
<section class="post-summary">
{{ post.summary | safe }}
</section>
<footer>
{% if post.content | length > post.summary | length %}
<a href="{{ post.permalink }}">
{% if post.lang == 'en' %}More...{% else %}Les mer...{% endif %}
</a>
{% endif %}
</footer>
</article>
{% endfor %}
</ul>
{% endfor %}
</ul>
</div>
{% endblock content %}
|