Skip to content

Commit f3b3ecd

Browse files
Documentation fix (#6492)
* Fix a bug where google_news.html not found due to its deprecated. Signed-off-by: PureRaidenCloud <[email protected]> * Change .URL to .Permalink Signed-off-by: PureRaidenCloud <[email protected]> * Fix #6488 Signed-off-by: PureRaidenCloud <[email protected]> --------- Signed-off-by: PureRaidenCloud <[email protected]>
1 parent 1403d71 commit f3b3ecd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

website/content/en/docs/building-operators/golang/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Follow the steps in the [installation guide][install-guide] to learn how to inst
1111
## Additional Prerequisites
1212

1313
- [git][git_tool]
14-
- [go][go_tool] version 1.18
14+
- [go][go_tool] version 1.19
1515
- [docker][docker_tool] version 17.03+.
1616
- [kubectl][kubectl_tool] and access to a Kubernetes cluster of a [compatible version][k8s-version-compat].
1717

website/layouts/partials/head.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
{{ partialCached "favicons.html" . }}
1313
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
1414
{{- template "_internal/opengraph.html" . -}}
15-
{{- template "_internal/google_news.html" . -}}
1615
{{- template "_internal/schema.html" . -}}
1716
{{- template "_internal/twitter_cards.html" . -}}
1817
{{ if eq (getenv "HUGO_ENV") "production" }}

website/layouts/partials/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</a>
88
<nav class="of-nav-main nav-collapse">
99
<ul class="of-nav-main__items menu-items">
10-
<li class="of-nav-main__item"><a class="of-link-list__a {{ if eq .URL "/" }} of-m-active {{end}}" href="/">Home</a></li>
10+
<li class="of-nav-main__item"><a class="of-link-list__a {{ if eq .Permalink "/" }} of-m-active {{end}}" href="/">Home</a></li>
1111
{{ $currentPage := . }}
1212
{{ range .Site.Menus.main }}
1313
<li class="of-nav-main__item"><a class="of-link-list__a{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} of-m-active{{end}}" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a></li>

0 commit comments

Comments
 (0)