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:
committed by
Kubernetes Prow Robot
parent
2ccb5d61c6
commit
c6dd35ba51
@@ -1,4 +1,4 @@
|
||||
{{ $caseStudiesSection := .Site.GetPage "case-studies" }}
|
||||
{{ $caseStudiesSection := site.GetPage "case-studies" }}
|
||||
{{ if not $caseStudiesSection }}
|
||||
{{ errorf "[%s] No case-studies section found. Create content/%s/case-studies/_index.md" $.Page.Lang $.Page.Lang }}
|
||||
{{ else }}
|
||||
@@ -19,4 +19,4 @@
|
||||
<h5 style="text-align: center"><a href="/case-studies/" style="color: #3371E3; font-weight: 400">{{ $caseStudiesSection.LinkTitle }}</a></h5>
|
||||
</main>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user