diff options
author | Yue Yang <g1enyy0ung@gmail.com> | 2021-06-05 19:13:20 +0300 |
---|---|---|
committer | Yue Yang <g1enyy0ung@gmail.com> | 2021-06-05 19:13:20 +0300 |
commit | 5003a7fe14abab983e9810e5b114d5466690436e (patch) | |
tree | 81972ee2c3e71b6635777798c96bda01c581187a /layouts | |
parent | e5ecbe414c6920ec88ecc9c37fc81f4ad2ce283b (diff) |
Display disqus more reasonably
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/back.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/layouts/partials/back.html b/layouts/partials/back.html index 695f7d2..1e2afe5 100644 --- a/layouts/partials/back.html +++ b/layouts/partials/back.html @@ -27,14 +27,11 @@ {{ end }} </div> - {{ if findRE "posts/.+" .RelPermalink }} - {{ else }} - {{ if and .Site.DisqusShortname }} + {{ if and .Site.DisqusShortname .IsHome }} <div class="sixteen wide mobile eight wide tablet eight wide computer column dream-column"> <article class="ui segment"> {{ partial "disqus.html" (dict "Context" . "Identifier" "/") }} </article> </div> {{ end }} - {{ end }} </div> |