Added estimated reading time and icon for the date

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2018-01-01 14:32:47 +01:00
parent f3cace4aef
commit ef637bdb70
5 changed files with 32 additions and 3 deletions

View File

@ -6,11 +6,13 @@ layout: default
<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<p 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 %}
• {% include reading-time.html content=content %}
</p>
</header>