blob: c3e708070187edd19ff08dd4b74e41e98f9b4ee4 (
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
|
{{ define "main" }}
<div class="container" role="main">
<article class="article" class="blog-post">
{{ partial "toc.html" . }}
{{ if .Params.tags }}
<div class="blog-tags">
{{ range .Params.tags }}
<a
href="{{ "" | absLangURL }}tags/{{ . | urlize }}{{ if $.Site.Params.uglyurls }}.html{{ else }}/{{ end }}"
>{{ . }}</a
>
{{ end }}
</div>
{{ end }}
{{ if .Site.Params.enableBottomNavigation }}
{{ partial "bottomnav.html" . }}
{{ end }}
</article>
{{ if and (gt .WordCount 400) (.Param "backtotop") }}
<button onclick="topFunction()" id="backtotopButton">
<em class="fa fa-angle-up"></em>
</button>
{{ partial "backtotop.html" . }}
{{ end }}
{{ if (not (isset .Params "disable_comments")) }}
{{ partial "disqus.html" . }}
{{ end }}
</div>
{{ end }}
|