AGSTATUS/_layouts/post.html

26 lines
716 B
HTML
Raw Normal View History

2020-11-15 05:02:05 -07:00
---
layout: default
---
<small>{{ page.date | date: "%-d %B %Y" }}</small>
<h1>{{ page.title }}</h1>
<p class="view">by {{ page.author | default: site.author }}</p>
{{content}}
{% if page.tags %}
<small>tags: <em>{{ page.tags | join: "</em> - <em>" }}</em></small>
{% endif %}
{% assign authorData = site.data.authors[page.author] %}
<div class="author-bio">
2020-11-15 05:11:02 -07:00
<img src="/img/{{ authorData.image }}" alt="{{ page.author }}'s profile picture." />
2020-11-15 05:05:40 -07:00
<div class="author-name">{{ page.author }}</div>
<p class="bio">{{ authorData.bio }}</p>
{% for social in authorData.socials %}
<a href="{{ social.url }}" class="social-link {{ social.type }}-link">{{ social.type }}</a>
{% endfor %}
2020-11-15 05:02:05 -07:00
</div>