feat(author): add author

This commit is contained in:
Mahdi Dibaiee
2017-10-20 21:17:29 +03:30
parent d3ebc8b77d
commit 3e7918255b
15 changed files with 18 additions and 2 deletions

View File

@ -12,9 +12,9 @@ layout: default
<p class="post-meta">
<span>{{ post.date | date: "%b %-d, %Y" }}</span>
{% if post.author %} • <span>{{ post.author }}</span>{% endif %}
{% if post.meta %} • <span>{{ post.meta }}</span>{% endif %}
<span>Reading time: {{ post.content | reading_time }}</span>
{% if post.author %} • <span><a href='{{ site.authors[post.author].url }}'>{{ post.author }}</a></span>{% endif %}
</p>
</h2>
<article class='post-content'>