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

github.com/gkmngrgn/hugo-alageek-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGökmen Görgen <gkmngrgn@gmail.com>2019-02-14 03:19:13 +0300
committerGökmen Görgen <gkmngrgn@gmail.com>2019-02-14 03:19:13 +0300
commit409b0058e869744197c654405d98199f4607a1aa (patch)
tree9ea4485106decf753b717f1ceb237e4f9448f55b
parentf91e8aac35673c3aed7f72fa3955d2b1612e09c3 (diff)
#8 disqus integration.1.2.0
-rw-r--r--README.md1
-rw-r--r--layouts/blog/single.html6
2 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1635815..891eae3 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,7 @@ Websites that are using hugo with alaGeek theme:
* Twitter cards support.
* LaTeX support with MathJax.
* Possibility to add extra scripts with `footer_extra.html`.
+* Disqus support.
## Supported Languages
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 3e000ef..eed0f9d 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -80,6 +80,12 @@
</div>
</div>
{{ end }}
+
+ {{ if .Site.DisqusShortname }}
+ <div class="mt-5 disqus">
+ {{ template "_internal/disqus.html" . }}
+ </div>
+ {{ end }}
</div>
</div>
</div>