Welcome to mirror list, hosted at ThFree Co, Russian Federation.

single.html « post « layouts - github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: be983ec9befce985034bff8c45ec01aa23d9e78d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{ define "container-class" }}article-page with-toolbar hide-sidebar-sm{{ end }}
{{ define "main" }}
    <div id="article-toolbar">
        <a href="{{ .Site.BaseURL }}" class="back-home">
            {{ (resources.Get "icons/back.svg").Content | safeHTML }}
            <span>Back</span>
        </a>
    </div>

    {{ partial "article/article.html" . }}

    {{ partial "article/components/related-contents" . }}

    {{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
        {{ partial "comments/include" . }}
    {{ end }}

    {{ partialCached "footer/footer" . }}

    {{- partialCached "article/components/photoswipe.html" . -}}
{{ end }}