1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-02-16 08:42:04 +00:00
hugo/tpl/tplimpl
Yihui Xie 2e1e4934b6 tpl: Improve the built-in Disqus template ()
* 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
..
ace.go
amber_compiler.go
template.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
template_ast_transformers.go
template_ast_transformers_test.go
template_embedded.go tpl: Improve the built-in Disqus template () 2017-06-27 05:40:01 -06:00
template_funcs.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
template_funcs_test.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
templateFuncster.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
templateProvider.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00