Skip to content
Snippets Groups Projects
Commit 0f4288f0 authored by Kevin Lin's avatar Kevin Lin :sparkles:
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"> <div class="announcement">
<h2> <h2>{{ page.title }}</h2>
<span class="announcement-meta">
{% if page.date %} {% if page.date %}
<strong class="label label-purple">{{ page.date | date: '%b %e' }}</strong> {{ page.date | date: '%b %e' }}
&middot;
{% endif %} {% endif %}
{{ page.title }} {% assign minutes = content | strip_html | number_of_words | divided_by: 180.0 | round %}
</h2> {{ minutes }} min read
</span>
{{ content }} {{ content }}
</div> </div>
...@@ -4,4 +4,8 @@ ...@@ -4,4 +4,8 @@
h1, h2 { h1, h2 {
@extend .text-gamma; @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