mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 18:18:09 +00:00
feat: add support for Hugo v0.134+ breaking changes
Tested with Hugo v0.135.0 Addresses `.Summary` breaking changes in Hugo v0.134: https://github.com/gohugoio/hugo/releases/tag/v0.134.0
This commit is contained in:
1 parent
fdf45baf57
commit
2eaf5f6849
2 files changed
+2
-2
No files matched your search
@@ -36,7 +36,7 @@
|
|||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $desc = $superuser_role }}
|
{{ $desc = $superuser_role }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<meta name="description" content="{{ $desc }}" />
|
<meta name="description" content="{{ $desc | plainify }}" />
|
||||||
|
|
||||||
{{/* Get all URL variations for the page. */}}
|
{{/* Get all URL variations for the page. */}}
|
||||||
{{ range .Translations }}
|
{{ range .Translations }}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $desc = $superuser_role }}
|
{{ $desc = $superuser_role }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<meta name="description" content="{{ $desc }}" />
|
<meta name="description" content="{{ $desc | plainify }}" />
|
||||||
|
|
||||||
{{ range .Translations }}
|
{{ range .Translations }}
|
||||||
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}" />
|
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}" />
|
||||||
|
|||||||
Reference in new issue
Block a user