From 46610182d64d902b6724d34dbecbc686732db6dc Mon Sep 17 00:00:00 2001 From: Keichi Takahashi Date: Sat, 18 Jul 2015 00:20:39 +0900 Subject: [PATCH] Move disqus setting under .Site.Params --- README.md | 2 ++ layouts/_default/single.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aeff7bf..0aa13c7 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,8 @@ copyright = "© 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 @@ {{ end }} - {{ with .Site.DisqusShortname }} + {{ with .Site.Params.disqus }}