1{{ define "main" }}
2 <main>
3 <article>
4 <h1>{{ .Title }}</h1>
5
6 {{ if .Date }}
7 <time>Created At: {{ .Date.Format "02 Jan 2006" }}</time></br>
8 {{ end }}
9 {{ if .Lastmod }}
10 <time>Last Modified: {{ .Lastmod.Format "02 Jan 2006"}}</time>
11 {{ end }}
12
13 {{ partial "tagbar.html" }}
14 {{ with .Params.tags }}
15 <div class="tags">
16 <ul>
17 {{ range . }}
18 <li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
19 {{ end }}
20 </ul>
21 </div>
22 {{ end }}
23
24 <div class="blog-post-content">
25 {{ .Content }}
26 </div>
27 <!-- {{ with .Site.DisqusShortname }}
28 <div>
29 {{ template "_internal/disqus.html" . }}
30 </div>
31 {{ end }}
32 </article> -->
33 </main>
34 <!-- {{ partial "sidebar.html" . }} -->
35{{ end }}