Skip to content
Snippets Groups Projects
Commit 0f4288f0 authored by Kevin Lin's avatar Kevin Lin
Browse files

Prefer Medium-style announcement metadata presentation

parent 8301c9da
No related branches found
No related tags found
No related merge requests found
<div class="announcement">
<h2>
<h2>{{ page.title }}</h2>
<span class="announcement-meta">
{% if page.date %}
<strong class="label label-purple">{{ page.date | date: '%b %e' }}</strong>
{{ page.date | date: '%b %e' }}
&middot;
{% endif %}
{{ page.title }}
</h2>
{% assign minutes = content | strip_html | number_of_words | divided_by: 180.0 | round %}
{{ minutes }} min read
</span>
{{ content }}
</div>
......@@ -4,4 +4,8 @@
h1, h2 {
@extend .text-gamma;
}
.announcement-meta {
@extend .text-epsilon;
}
}
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