-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpost.html
More file actions
32 lines (26 loc) · 1.12 KB
/
post.html
File metadata and controls
32 lines (26 loc) · 1.12 KB
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
---
layout: default
---
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
<p class="post-meta">
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
{{ page.date | date: date_format }}
</time>
</header>
<div class="post-content" itemprop="articleBody">
{{ page.content }}
</div>
{% if page.video != null && page.video != "" %}
<div class="post-video">
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/{{ page.video }}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
{% endif %}
<div class="post-tags">Tags:
{% for tag in page.tags %}
<a href="/tag.html#{{ tag | slugify }}"> {{ tag }} </a>
{% endfor %}
</div>
</article>