mirror of
https://github.com/zaphar/jeremy.marzhillstudios.com.git
synced 2025-07-21 19:29:48 -04:00
Add some stats to our theme.
This commit is contained in:
parent
93e55a5478
commit
b598bffab2
@ -143,6 +143,12 @@ main {
|
|||||||
color: #8a8a8a;
|
color: #8a8a8a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__stats {
|
||||||
|
font-size: 16px;
|
||||||
|
font-style: oblique;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
&__summary {
|
&__summary {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<h1 class="post__title">
|
<h1 class="post__title">
|
||||||
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
||||||
</h1>
|
</h1>
|
||||||
|
<div class="post__stats">{{ page.word_count }} words | {{ page.reading_time }} minutes</div>
|
||||||
<div class="post__meta">
|
<div class="post__meta">
|
||||||
<span class="post__time">{{ page.date | date(format="%F") }}</span>
|
<span class="post__time">{{ page.date | date(format="%F") }}</span>
|
||||||
{% if page.category %}
|
{% if page.category %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user