hugo/tpl
Yihui Xie 2e1e4934b6 tpl: Improve the built-in Disqus template (#3639)
* Improve the built-in Disqus template

  Set `disqus_identifier`, `disqus_title`, and `disqus_url`
  only if the user has explicitly provided them.

  Do not load Disqus when the website is previewed locally,
  otherwise it is very confusing.

* Use disqus_config instead of three global variables

  https://help.disqus.com/customer/portal/articles/472098-javascript-configuration-variables
2017-06-27 05:40:01 -06:00
..
cast all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
collections Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
compare all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
crypto all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
data Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
encoding all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
fmt all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
images Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
inflect all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
internal all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
lang Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
math all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
os Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
partials all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
safe Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
strings Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
time all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
tplimpl tpl: Improve the built-in Disqus template (#3639) 2017-06-27 05:40:01 -06:00
transform Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
urls Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
template.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00