blob: eca87b974c33998c4884f1f7b256eba6834982a4 (
plain)
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
|
{{ define "main" }}
<article class="h-entry">
<header>
<h1 class="p-name">{{ .Title }}</h1>
<p>
{{- range .Params.tags }}
<a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a>
{{- end }}
— Published on <time class="dt-published" datetime="{{ .Date | dateFormat "2006-01-02" }}">{{ .Date | dateFormat "2006-01-02" }}</time>.
</p>
{{- if .Draft }}
<section class="admonition">
<div class="admonition-title">
draft
</div>
<div class="admonition-content">
This blog post is still a
<strong>draft</strong>. It has most likely been
shared with you for reviewing purposes. Please
do not yet share this with other people.
</div>
</section>
{{- end }}
</header>
<main class="e-content">
{{ .Content }}
</main>
<footer>
<p class="text-center">
<a class="image-link" rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
<img alt="Creative Commons License" src="/img/cc-by-sa.png">
</a>
</p>
</footer>
</article>
{{ end }}
|