Add unicode for readings

This commit is contained in:
Alexis Métaireau 2021-01-26 23:12:24 +01:00
parent 28d83eca91
commit f239450f9a

View file

@ -8,16 +8,16 @@
{% if not HIDE_DATE %} {% if not HIDE_DATE %}
<time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time> <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>
{% endif %} {% endif %}
<h1><a href="{{ SITEURL }}/{{ article.url }}" id="page-title">{{ article.title }}</a></h1> <h1><a href="{{ SITEURL }}/{{ article.url }}" id="page-title">{% if article.category == "lectures" %}📖 {% endif %}{{ article.title }}</a></h1>
{{ article.content|striptags|truncate(200) }} {{ article.content|striptags|truncate(200) }}
</section> </section>
{% else %} {% else %}
{% if loop.index0 == DEFAULT_PAGINATION %} {% if loop.index0 == DEFAULT_PAGINATION %}
<section> <section>
<h1>More...</h1> <h1>Anciens articles...</h1>
<ul> <ul>
{% endif %} {% endif %}
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></li> <li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{% if article.category == "lectures" %}📖 {% endif %}{{ article.title }}</a></li>
{% if loop.last %} {% if loop.last %}
</ul> </ul>
</section> </section>