Add admin's avatar on about page

This commit is contained in:
Bat 2018-09-03 15:14:39 +01:00
parent 431bc41cb5
commit 7734557a99
2 changed files with 5 additions and 3 deletions

View File

@ -559,7 +559,8 @@ form.new-post input[type="submit"]:hover { background: #DADADA; }
.stats > div {
display: flex;
flex-direction: column;
text-align: center;
justify-content: center;
align-items: center;
}
.stats em {

View File

@ -8,7 +8,7 @@ About {{ instance.name }}
{% block content %}
<h1>{{ "About {{ instance_name }}" | _(instance_name=instance.name) }}</h1>
<section>
{{ instance.short_description_html | safe }}
{{ instance.short_description_html | safe }}
</section>
<div class="banner">
<section class="stats">
@ -29,12 +29,13 @@ About {{ instance.name }}
</div>
<div>
<p>{{ "Administred by" | _ }}</p>
<img class="avatar small" src="{{ admin.avatar }}" alt="{{ admin.name }}">
<p><a href="/@/{{ admin.fqn }}">{{ admin.name }}</a><small>(@{{ admin.fqn }})</small></p>
</div>
</section>
<p>{{ "Runs Plume {{ version }}" | _(version=version) }}
</div>
<section>
{{ instance.long_description_html | safe }}
{{ instance.long_description_html | safe }}
</section>
{% endblock content %}