Add some stats to our theme.

This commit is contained in:
Jeremy Wall 2020-05-26 16:20:43 -05:00
parent 93e55a5478
commit b598bffab2
2 changed files with 7 additions and 0 deletions

View File

@ -143,6 +143,12 @@ main {
color: #8a8a8a;
}
&__stats {
font-size: 16px;
font-style: oblique;
color: black;
}
&__summary {
margin-bottom: 1rem;
}

View File

@ -3,6 +3,7 @@
<h1 class="post__title">
<a href="{{ page.permalink }}">{{ page.title }}</a>
</h1>
<div class="post__stats">{{ page.word_count }} words | {{ page.reading_time }} minutes</div>
<div class="post__meta">
<span class="post__time">{{ page.date | date(format="%F") }}</span>
{% if page.category %}