Added author icon in post metadata

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2018-01-01 14:35:21 +01:00
parent ef637bdb70
commit c293cf2b2e

View File

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