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 { .stats > div {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
text-align: center; justify-content: center;
align-items: center;
} }
.stats em { .stats em {

View File

@ -29,6 +29,7 @@ About {{ instance.name }}
</div> </div>
<div> <div>
<p>{{ "Administred by" | _ }}</p> <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> <p><a href="/@/{{ admin.fqn }}">{{ admin.name }}</a><small>(@{{ admin.fqn }})</small></p>
</div> </div>
</section> </section>