blob: 7fccde4ee14a530f36bc4bb884e351227f52bd1b (
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
|
{{ define "main" }}
<div class="container" role="main">
<article class="article" class="blog-post">
<div class="postmeta">
{{ partial "postmeta.html" . }}
</div>
<br>
{{ partial "toc.html" . }}
{{ if .Params.tags }}
<div class="blog-tags">
{{ range .Params.tags }}
<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">{{ . }}</a>
{{ end }}
</div>
{{ end }}
</article>
{{ if and (gt .WordCount 400) (.Param "backtotop") }}
{{ partial "backtotop.html" . }}
<button onclick="topFunction()" id="backtotopButton">
<i class="fa fa-angle-up"></i>
</button>
{{ end }}
</div>
{{ end }}
|