/
article.html
46 lines (41 loc) · 1.69 KB
/
article.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
layout: base
---
<article class="hentry" role="main">
{% if page.youtube %}
<iframe
width="640"
height="360"
src="https://www.youtube-nocookie.com/embed/{{ page.youtube }}?autohide=1&color=white&showinfo=0"
frameborder="0"
title="YouTube embed of '{{ page.title }}'"
allowfullscreen></iframe>
{% endif %}
<h1 class="entry-title">{{ page.title }}</h1>
{{ content }}
<address class="vcard">— <a href="/" rel="author" class="fn url">Mike West</a></address>
<time class="published" pubdate datetime="{{ page.date | date: %Y-%m-%d }}">
{{ page.date | date: "%A, %B %d, %Y" }}
</time>
<aside>
<p>
<span>More reading: </span>If you enjoyed this,
{% if page.suggestions %}
take a look at
{% for suggestion in page.suggestions %}
“<a href="{{ suggestion.url }}">{{ suggestion.title }}</a>”
{% if forloop.last %}. {% else %}, {% if forloop.rindex0 == 1 %}and {% endif %}{% endif %}
{% endfor %}
</p><p>
You might also be interested in perusing lists of other posts tagged
{% else %}
you might also be interested in perusing lists of other posts tagged
{% endif %}
{% for tag in page.tags %}
‘<a href="/tags/{{ tag | cgi_encode }}"
rel="category tag"
title="View other entries tagged '{{ tag }}'">{{ tag }}</a>’{% if forloop.last %}.{% else %}, {% if forloop.rindex0 == 1 %}or {% endif %}{% endif %}
{% endfor %}
</p>
</aside>
</article>