Add description to article and blog post headers
This commit is contained in:
parent
32b55c6056
commit
0f945b22d7
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
{% if isArticle %}
|
{% if isArticle %}
|
||||||
<div class="article__info">
|
<div class="article__info">
|
||||||
|
<p class="article__info--desc">{{ desc }}</p>
|
||||||
<p>Posted on {{ date | formatDate }} by {{ sitemeta.siteAuthor.name }}
|
<p>Posted on {{ date | formatDate }} by {{ sitemeta.siteAuthor.name }}
|
||||||
{% if updated %}
|
{% if updated %}
|
||||||
• Last updated on {{ updated | formatDate }}</p>
|
• Last updated on {{ updated | formatDate }}</p>
|
||||||
|
@ -102,6 +103,8 @@
|
||||||
padding-left: 0.3em;
|
padding-left: 0.3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.article__info--desc { margin-bottom: 1em; }
|
||||||
|
|
||||||
.blog__post--pagination {
|
.blog__post--pagination {
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
margin-top: 2.5em;
|
margin-top: 2.5em;
|
||||||
|
|
Loading…
Reference in New Issue