comlib/templates/wishes.html

23 lines
988 B
HTML

{% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{% if this.body %}
<h2 class="page-title">{{ this.title }}</h2>
{{ this.body }}
{% else %}
<h2>{{ this.title }}</h2>
{% endif %}
<ul class="list-none">
{% for post in this.children %}
<li class="bib">
<span class="bib-title">{{ post.title }}</span><br>
{% if post.subtitle %}<span class="bib-small-txt">{{ post.subtitle }}</span><br>{% endif %}
{% if post.author %}<span class="bib-small-txt">by {{ post.author }}</span><br>{% endif %}
{% if post.publisher %}<span class="bib-small-txt italics">Publisher: {{ post.publisher}}</span><br>{% endif %}
{% if post.pub_date %}<span class="bib-small-txt italics">Publish date: {{ post.pub_date }}</span><br>{% endif %}
{% if post.ref %}<span class="bib-small-txt italics">Referenced in: {{ post.ref }}</span>{% endif %}
</li>
{% endfor %}
</ul>
{% endblock %}