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

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/single.html')
-rw-r--r--layouts/post/single.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html
new file mode 100644
index 0000000..aabeee7
--- /dev/null
+++ b/layouts/post/single.html
@@ -0,0 +1,21 @@
+{{ define "container-class" }}article-page with-toolbar{{ 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" . }}
+
+ {{- partial "article/components/photoswipe.html" . -}}
+{{ end }} \ No newline at end of file