njpma/app/templates/texts.html

25 lines
640 B
HTML
Executable file

{% extends "base.html" %}
{% block body_class%}animated animated-text{% endblock %}
{% block main %}
<div class="texts">
<div class="assemblies">
<div class="col">
{% for text in en_texts %}
<div class="text en">
<h1><a href="{{ text.get_absolute_url }}">{{ text.title | safe }}</a></h1>
<h2>{{ text.byline|striptags }}</h2>
</div>
{% endfor %}
</div>
<div class="col">
{% for text in zh_texts %}
<div class="text zh">
<h1><a href="{{ text.get_absolute_url }}">{{ text.title | safe }}</a></h1>
<h2>{{ text.byline|striptags }}</h2>
</div>
{% endfor %}
</div>
</div>
</div>
{% endblock %}