forked from functor.systems/website
25 lines
727 B
HTML
25 lines
727 B
HTML
{{ 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 }}
|