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

github.com/brycematheson/allegiant.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeichi Takahashi <keichi.t@me.com>2015-07-17 18:20:39 +0300
committerKeichi Takahashi <keichi.t@me.com>2015-07-17 18:20:39 +0300
commit46610182d64d902b6724d34dbecbc686732db6dc (patch)
treea55959b936607d33792f30b8fa2d44c3a93a8422
parent24e09e044aac4f3aa5940bb7551fc225e957f971 (diff)
Move disqus setting under .Site.Params
-rw-r--r--README.md2
-rw-r--r--layouts/_default/single.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index aeff7bf..0aa13c7 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,8 @@ copyright = "&copy; Copyright notice"
stackoverflow = "Your Stackoverflow user id (number)"
keybase = "Your keybase.io username"
instagram = "Your Instagram username"
+ # Disqus shortname
+ disqus = "Your disqus shortname"
# Google Analytics API key.
ga_api_key = "Your Google Analytics tracking id"
# Mixpanel API key.
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 2f8d5a9..0713e46 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -56,7 +56,7 @@
<li class="next disabled"><a href="#">Newer <span aria-hidden="true">&rarr;</span></a></li>
{{ end }}
</ul>
- {{ with .Site.DisqusShortname }}
+ {{ with .Site.Params.disqus }}
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = '{{ . }}';