Update to Hugo 0.53 and remove all .Site references (#12079)

* Remove all .Site variable references

* Update Hugo version in Travis CI config and Makefile
This commit is contained in:
Luc Perkins
2019-02-05 08:33:23 -08:00
committed by Kubernetes Prow Robot
parent 2ccb5d61c6
commit c6dd35ba51
37 changed files with 84 additions and 84 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{{ $p := . }}
{{ $home := .Site.Home }}
{{ $docs := .Site.GetPage "section" "docs" }}
{{ $home := site.Home }}
{{ $docs := site.GetPage "section" "docs" }}
{{ $menuSections := (where $docs.Sections ".Params.main_menu" true) }}
{{ range $menuSections }}
{{ if $p.IsDescendant . }}