Move disqus setting under .Site.Params
This commit is contained in:
parent
24e09e044a
commit
46610182d6
@ -48,6 +48,8 @@ copyright = "© Copyright notice"
|
|||||||
stackoverflow = "Your Stackoverflow user id (number)"
|
stackoverflow = "Your Stackoverflow user id (number)"
|
||||||
keybase = "Your keybase.io username"
|
keybase = "Your keybase.io username"
|
||||||
instagram = "Your Instagram username"
|
instagram = "Your Instagram username"
|
||||||
|
# Disqus shortname
|
||||||
|
disqus = "Your disqus shortname"
|
||||||
# Google Analytics API key.
|
# Google Analytics API key.
|
||||||
ga_api_key = "Your Google Analytics tracking id"
|
ga_api_key = "Your Google Analytics tracking id"
|
||||||
# Mixpanel API key.
|
# Mixpanel API key.
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
<li class="next disabled"><a href="#">Newer <span aria-hidden="true">→</span></a></li>
|
<li class="next disabled"><a href="#">Newer <span aria-hidden="true">→</span></a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
{{ with .Site.DisqusShortname }}
|
{{ with .Site.Params.disqus }}
|
||||||
<div id="disqus_thread"></div>
|
<div id="disqus_thread"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var disqus_shortname = '{{ . }}';
|
var disqus_shortname = '{{ . }}';
|
||||||
|
Loading…
Reference in New Issue
Block a user