mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-23 18:10:52 +02: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:
parent
fdf45baf57
commit
2eaf5f6849
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
|||
{{ else }}
|
||||
{{ $desc = $superuser_role }}
|
||||
{{ end }}
|
||||
<meta name="description" content="{{ $desc }}" />
|
||||
<meta name="description" content="{{ $desc | plainify }}" />
|
||||
|
||||
{{/* Get all URL variations for the page. */}}
|
||||
{{ range .Translations }}
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
{{ else }}
|
||||
{{ $desc = $superuser_role }}
|
||||
{{ end }}
|
||||
<meta name="description" content="{{ $desc }}" />
|
||||
<meta name="description" content="{{ $desc | plainify }}" />
|
||||
|
||||
{{ range .Translations }}
|
||||
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue