towards njp.ma

This commit is contained in:
j 2021-11-12 10:21:00 +00:00
commit b24ba91bfc
23 changed files with 167 additions and 524 deletions

22
app/templates/texts.html Executable file → Normal file
View file

@ -3,23 +3,13 @@
{% block main %}
<div class="texts">
<div class="assemblies row">
<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 class="assemblies">
{% for text in texts %}
<div class="text">
<h1><a href="{{ text.get_absolute_url }}">{{ text.title | safe }}</a></h1>
<h2>{{ text.byline|striptags }}</h2>
</div>
{% endfor %}
</div>
</div>
{% endblock %}