Display author biography with style. 😎

This commit is contained in:
Fabien Basmaison 2021-05-06 17:24:05 +02:00 committed by GitHub
parent 8d875f73ff
commit a137bd21ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,12 +22,11 @@
</div> </div>
</div> </div>
<div class="block"> <div class="block content">
{% if author.bio %} {% if author.bio %}
<p>
{{ author.bio | to_markdown | safe }} {{ author.bio | to_markdown | safe }}
</p>
{% endif %} {% endif %}
{% if author.wikipedia_link %} {% if author.wikipedia_link %}
<p><a href="{{ author.wikipedia_link }}" rel=”noopener” target="_blank">{% trans "Wikipedia" %}</a></p> <p><a href="{{ author.wikipedia_link }}" rel=”noopener” target="_blank">{% trans "Wikipedia" %}</a></p>
{% endif %} {% endif %}