forked from mirrors/bookwyrm
Merge pull request #1053 from arkhi/patch-1
Display author biography with style. 😎
This commit is contained in:
commit
78f3e2efc2
1 changed files with 2 additions and 3 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue