blob: 1ed49c604f3518c390686d91abc1ebb23e871f8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{{ define "main" }}
<main>
<article>
<h1 class="page-title blog">{{ .Title }}</h1>
{{- /* Show post information if it's a post, otherwise just the content */ -}}
{{ if in site.Params.mainSections .Page.Section }}
<p class="blog-post-info">Posted: <time>{{ .Date.Format "2006-01-02" }}</time>
{{ partial "blog-taxonomy-info" . }}</p>
<div class="blog-post-content">
{{ .Content }}
</div>
{{ template "_internal/disqus.html" . }}
{{ else }}
{{ .Content }}
{{ end }}
</article>
</main>
{{ end }}
|