hugo/common/hugo
Bjørn Erik Pedersen 831d23cb4d Add tpl/site and tpl/hugo
This means that the current `.Site` and ´.Hugo` is available as a globals, so you can do `site.IsServer`, `hugo.Version` etc.

Fixes #5470
Fixes #5467
Fixes #5503
2018-12-06 14:37:25 +01:00
..
hugo.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00
hugo_test.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00
site.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00
vars_extended.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00
vars_regular.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00
version.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00
version_current.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00
version_test.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00