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

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html14
1 files changed, 2 insertions, 12 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 48c7aee..3b32bde 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,11 +4,7 @@
<article>
<header>
- <h1>{{ .Title }}</h1>
-
- {{ range .Data.Terms }}
- {{ .Name }}
- {{ end }}
+ <h1>{{ .Title | emojify }}</h1>
{{ if or .Params.categories .Params.tags }}
<section class="terms">
@@ -39,13 +35,7 @@
</header>
- {{ if .Params.toc }}
- <details class="toc" open>
- <summary class="outline-dashed">{{ T "tableOfContents" }}</summary>
- {{ .Page.TableOfContents }}
- </details>
- {{ end }}
-
+ {{ partial "table-of-contents" . }}
{{ partial "processed-content" . }}
</article>