30 lines
754 B
HTML
30 lines
754 B
HTML
|
{{ partial "header.html" . }}
|
||
|
|
||
|
<article id="{{ .Slug }}" class="single-post">
|
||
|
<h1>{{ .Title }}</h1>
|
||
|
|
||
|
{{ if eq .Section "posts" }}
|
||
|
<time class="date">{{ .Date.Format "2 January, 2006" }}</time>
|
||
|
|
||
|
<ul class="tags">
|
||
|
{{ range .Params.tags }}
|
||
|
<li><a href="/tags/{{ . | urlize }}">{{ . }}</a></li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
{{ end }}
|
||
|
|
||
|
<div class="body">
|
||
|
{{ .Content }}
|
||
|
</div>
|
||
|
|
||
|
|
||
|
{{ if eq .Section "posts" }}
|
||
|
<div class="comments">
|
||
|
{{ template "_internal/disqus.html" . }}
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
|
||
|
</article>
|
||
|
|
||
|
{{ partial "footer.html" . }}
|