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

github.com/joway/hugo-theme-yinyang.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoway.CI <joway.w@gmail.com>2020-08-21 05:00:21 +0300
committerJoway.CI <joway.w@gmail.com>2020-08-21 05:00:21 +0300
commit1a5879240314c27f6470609fecc2fa708254fd79 (patch)
treed26b90e15ae470f0b0d7cd5ff01edda6bc1ad685
parent2dc6044aad1158f119c36cd47738dc27a054e0ff (diff)
chore
-rw-r--r--layouts/_default/single.html25
1 files changed, 12 insertions, 13 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 2dcbd6c..33a8b73 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -53,20 +53,19 @@
{{ .Site.Params.postFooterContent | safeHTML }}
</div>
</div>
- {{ end }}
- {{ if in .Site.Params.mainSections .Type }}
- {{ partial "related.html" . }}
- {{ if .Site.Params.postAds }}
- <div class="post-ads">{{ .Site.Params.postAds | safeHTML }}</div>
- {{ end }}
- <!-- split -->
- <div style="height: 50px;"></div>
- {{ if .Site.Params.disqus }}
- <div class="post-comments">
- {{ partial "disqus.html" . }}
- </div>
- {{ end }}
+ {{ partial "related.html" . }}
+
+ {{ if .Site.Params.postAds }}
+ <div class="post-ads">{{ .Site.Params.postAds | safeHTML }}</div>
+ {{ end }}
+ <!-- split -->
+ <div style="height: 50px;"></div>
+ {{ if .Site.Params.disqus }}
+ <div class="post-comments">
+ {{ partial "disqus.html" . }}
+ </div>
+ {{ end }}
{{ end }}
{{ partial "footer.html" . }}