Fixed flag deprecations and updated Hugo version to latest (#47612)
* Fixed flag deprecations and updated Hugo version to latest * Removed deprecated flag from css.html * Includes fix for Hindi and Russian Signed-off-by: mbianchidev <matteo@mb-consulting.dev> * Update netlify.toml Applied node update (from my other PR) Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com> --------- Signed-off-by: mbianchidev <matteo@mb-consulting.dev> Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
This commit is contained in:
parent
00726c5498
commit
b153426c85
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
headless: true
|
||||
---
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
headless: true
|
||||
---
|
|
@ -42,11 +42,11 @@
|
|||
{{ partial "docs/auto-generated-pageinfo.html" . }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }}
|
||||
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.Config.Services.GoogleAnalytics.ID)) }}
|
||||
{{ partial "feedback.html" .Site.Params.ui.feedback }}
|
||||
{{ end }}
|
||||
{{ partial "page-meta-lastmod.html" . }}
|
||||
{{ if (.Site.DisqusShortname) }}
|
||||
{{ if (.Site.Config.Services.Disqus.Shortname) }}
|
||||
<br />
|
||||
{{ partial "disqus-comment.html" . }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!-- All former base stylesheet links commented out as we are using Docsy for styles. -->
|
||||
|
||||
{{ $inServerMode := site.IsServer }}
|
||||
{{ $inServerMode := hugo.IsServer }}
|
||||
|
||||
<!--begin splitter-->
|
||||
<style>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{{ $jsSearch = resources.Get "js/offline-search.js" }}
|
||||
{{ end }}
|
||||
{{ $js := (slice $jsBase $jsAnchor $jsSearch $jsMermaid) | resources.Concat "js/main.js" }}
|
||||
{{ if .Site.IsServer }}
|
||||
{{ if hugo.IsServer }}
|
||||
<script src="{{ $js.RelPermalink }}"></script>
|
||||
{{ else }}
|
||||
{{ $js := $js | minify | fingerprint }}
|
||||
|
|
|
@ -8,7 +8,7 @@ command = "git submodule update --init --recursive --depth 1 && make non-product
|
|||
|
||||
[build.environment]
|
||||
NODE_VERSION = "20.17.0"
|
||||
HUGO_VERSION = "0.121.2"
|
||||
HUGO_VERSION = "0.133.0"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_BASEURL = "https://kubernetes.io/"
|
||||
|
|
Loading…
Reference in New Issue