Files
ad/molodetz/templates/home.html
T

39 lines
1.5 KiB
HTML

<!-- retoor <retoor@molodetz.nl> -->
{% extends "base.html" %}
{% block content %}
<section class="hero">
<span class="label">Een blogrol</span>
<h1>Molodetz</h1>
<p class="lead">Een kleine kring die schrijft over het werk. De standaard ligt boven wat nu gewoon lijkt. <em>Geen cursus. Geen geschreeuw. Wel een mening.</em></p>
</section>
<div class="section-head">
<span class="label">Laatst op de rol</span>
<a href="/rol">Alles</a>
</div>
{% for post in posts %}
{% set _card = post %}
{% include "_post_card.html" %}
{% else %}
<p class="empty">Nog niets gepubliceerd.</p>
{% endfor %}
{% if featured_flyer %}
<section class="featured">
<div class="section-head"><span class="label">Flyer</span><a href="/flyers">{{ flyer_count }} flyers</a></div>
<figure>
<a href="{{ static_url(featured_flyer.source_path) }}" data-lightbox data-caption="{{ featured_flyer.caption }}">
<img src="{{ featured_flyer.thumb_url or static_url(featured_flyer.source_path) }}" alt="{{ featured_flyer.caption }}" width="{{ featured_flyer.width }}" height="{{ featured_flyer.height }}">
</a>
<figcaption>{{ featured_flyer.caption }}</figcaption>
</figure>
</section>
{% endif %}
<section class="closing">
<span class="label">Binnen</span>
<p>De rol is open voor mensen, niet voor een publiek. Wie mee wil schrijven, zegt het.</p>
<div class="actions"><a class="button" href="/binnen">Ik schrijf mee</a><a class="button ghost" href="/memes">{{ meme_count }} memes</a></div>
</section>
{% endblock %}