-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpost_author.html
More file actions
22 lines (22 loc) · 891 Bytes
/
post_author.html
File metadata and controls
22 lines (22 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div>
<a class="author" href="{{author.url}}">
<img class="author-image" src="/assets/img/authors/{{author.image}}" alt="author">
<span class="author-name">{{author.name}}</span>
{%- if author.github -%}
<a class="author" href="https://github.com/{{author.github}}">
<img class="github-icon" src="/assets/icon/github.svg">
</a>
{% endif %}
</a>
{%- if coauthor -%}
<a class="author authors-space" href="{{coauthor.url}}">
<img class="author-image" src="/assets/img/authors/{{coauthor.image}}" alt="author">
<span class="author-name">{{coauthor.name}}</span>
{%- if coauthor.github -%}
<a class="author" href="https://github.com/{{coauthor.github}}">
<img class="github-icon" src="/assets/icon/github.svg">
</a>
{% endif %}
</a>
{% endif %}
</div>