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
@@ -10,12 +10,12 @@
<div id="tag-container">
<p>Filter terms according to their tags:</p>
<div class="tag-description invisible" id="placeholder">.</div>
{{ range (index .Site.Data "canonical-tags") }}
{{ range (index site.Data "canonical-tags") }}
<div class="tag-description hide" id="{{ printf "tag-%s-description" .id }}">
<i>{{ .description }}</i>
</div>
{{ end }}
{{ $sorted_tags := sort (index .Site.Data "canonical-tags") "name" }}
{{ $sorted_tags := sort (index site.Data "canonical-tags") "name" }}
{{ range $sorted_tags }}
{{ $full_tag_name := printf "tag-%s" .id }}
<span id="{{ $full_tag_name }}" class="tag-option canonical-tag" data-target="{{ $full_tag_name }}">