2020-09-12 04:33:53 -04:00
|
|
|
{{ define "container-class" }}article-page with-toolbar{{ end }}
|
2020-08-22 07:20:08 -04:00
|
|
|
{{ define "main" }}
|
2020-09-12 04:33:53 -04:00
|
|
|
<div id="article-toolbar">
|
|
|
|
<a href="{{ .Site.BaseURL }}" class="back-home">
|
|
|
|
{{ (resources.Get "icons/back.svg").Content | safeHTML }}
|
|
|
|
<span>Back</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
2020-08-22 07:20:08 -04:00
|
|
|
|
2020-09-12 04:33:53 -04:00
|
|
|
{{ partial "article/article.html" . }}
|
2020-08-22 07:20:08 -04:00
|
|
|
|
2020-09-12 04:33:53 -04:00
|
|
|
{{ partial "article/components/related-contents" . }}
|
2020-08-22 07:20:08 -04:00
|
|
|
|
2020-09-12 04:33:53 -04:00
|
|
|
{{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
|
|
|
|
{{ partial "comments/include" . }}
|
|
|
|
{{ end }}
|
2020-08-22 07:20:08 -04:00
|
|
|
|
2020-09-12 04:33:53 -04:00
|
|
|
{{ partialCached "footer/footer" . }}
|
2020-08-22 07:20:08 -04:00
|
|
|
|
2020-09-12 04:33:53 -04:00
|
|
|
{{- partial "article/components/photoswipe.html" . -}}
|
2020-08-22 07:20:08 -04:00
|
|
|
{{ end }}
|