nuir/templates/author.html
2021-01-31 12:09:36 +01:00

23 lines
737 B
HTML

{%extends "base.html" %}
{% import "macros.html" as macro %}
{% block content %}
<div id="auth-info">
<h1>{{ author.name }}</h1>
{% if author|string in NUIR_AUTHORS %}
<div id="auth-desc">
<p>{{ NUIR_AUTHORS.get(author|string).description }}</p>
{% for icone, lien in NUIR_AUTHORS.get(author|string).links %}
<!-- <a href="{{ lien }}"><i class="icone-{{ icone }}"></i></a> -->
<a href="{{ lien }}" class="icone-{{ icone }}"></a>
{% endfor %}
</div>
{% endif %}
<!-- <hr /> -->
</div>
{{ macro.listArticles(articles_page.object_list) }}
{{ macro.paginationArt(articles_previous_page, articles_next_page) }}
{% endblock content %}