forked from creativecommons/ccos-website-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthor.html
32 lines (29 loc) · 1.03 KB
/
author.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends "layout.html" %}
{% from "macros/author_posts.html" import render_author_posts %}
{% from "macros/author_name.html" import render_author_name %}
{% block title %}{{ render_author_name(this) }}{% endblock %}
{% block body %}
<div class="author-posts">
<div class="header">
<div class="container">
<div class="columns">
<div class="column is-one-quarter-tablet-only is-2-desktop">
<figure class="image profile">
<img class="profile" src="https://secure.gravatar.com/avatar/{{ this.md5_hashed_email }}?size=200&d=mp" alt="gravatar">
</figure>
</div>
<div class="column content is-8">
<h2>{{ render_author_name(this) }}</h2>
{% if this.about %}
<div class="about">{{ this.about }}</div>
{% endif %}
<a class="button small" href="{{ this.parent|url }}">See all authors</a>
</div>
</div>
</div>
</div>
<div class="posts container">
{{ render_author_posts(this.children) }}
</div>
</div>
{% endblock %}