Skip to content
Snippets Groups Projects
Commit d5f5094a authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

Add description to headers, tweak wording.

parent 88b1b0c7
Branches master
No related tags found
No related merge requests found
......@@ -375,8 +375,13 @@ main img {
main .hero {
display: block;
}
main header h1 + .time,
main header h2 + .time {
main header .description {
margin-top: -.8em;
font-size: 1.25em;
color: #aaa;
}
main header h1 ~ .time,
main header h2 ~ .time {
display: block;
margin-top: -1em;
}
......
......@@ -31,12 +31,17 @@
<h1>
{{ article.title }}
</h1>
{% if article.description %}
<p class="description">
{{ article.description }}
</p>
{% endif %}
<p class="time">
<time datetime="{{ article.date.isoformat() }}">
Posted on {{ article.locale_date }}</time>
Posted {{ article.locale_date }}.</time>
{% if article.modified %}
<time datetime="{{ article.modified.isoformat() }}">
Modified on {{ article.locale_modified }}</time>
Updated {{ article.locale_modified }}.</time>
{% endif %}
</p>
</header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment