Link to tags overview and change read time wording
This commit is contained in:
parent
7d6f4caa19
commit
bbd40557a3
|
@ -18,16 +18,18 @@
|
|||
{% when 1 %}
|
||||
{% assign phrase = "about a minute." %}
|
||||
{% else %}
|
||||
{% assign phrase = " minutes." | prepend: reading_time %}
|
||||
{% assign phrase = " minute read" | prepend: reading_time %}
|
||||
{% endcase %}
|
||||
|
||||
<time pubdate="pubdate">{{ page.published_date | date: "%b %d, %Y" }} - Reading time: {{ phrase }}</time>
|
||||
<div class="metadata">
|
||||
<time pubdate="pubdate">{{ page.published_date | date: "%b %d, %Y" }} · {{ phrase }}</time>
|
||||
|
||||
{% if page.data and page.data.tags -%}
|
||||
{%- assign tags = page.data.tags | join: ", " -%}
|
||||
Tags: {{tags}}
|
||||
{%- for tag in page.data.tags %}
|
||||
· <a href="/tagged/{{ tag }}.html">{{ tag }}</a>
|
||||
{%- endfor %}
|
||||
{%- endif -%}
|
||||
<br />
|
||||
</div>
|
||||
|
||||
{{ page.content }}
|
||||
</article>
|
||||
|
|
Loading…
Reference in a new issue