feat: sitemap

feat: reading time
This commit is contained in:
Mahdi Dibaiee
2017-02-23 16:08:14 +03:30
parent ee400e076f
commit 97f9079fef
7 changed files with 319 additions and 4 deletions

View File

@ -9,7 +9,13 @@ layout: default
<li>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<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>
</p>
</h2>
<article class='post-content'>
{{ post.excerpt }}