Added author icon in post metadata

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2018-01-01 14:35:21 +01:00
parent ef637bdb70
commit c293cf2b2e
1 changed files with 6 additions and 4 deletions

View File

@ -5,15 +5,17 @@ layout: default
<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<p class="small text-muted">
<div class="small text-muted">
<span class="far fa-calendar-alt"></span>
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{{ page.date | date: "%b %-d, %Y" }}
</time>
{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">{{ page.author }}</span></span>{% endif %}
{% if page.author %} • <span class="far fa-user"></span>
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">{{ page.author }}</span>
</span>{% endif %}
• {% include reading-time.html content=content %}
</p>
</div>
</header>
<div class="text-justify" itemprop="articleBody">