Skip to content

Commit

Permalink
feat: add support for Hugo v0.134+ breaking changes
Browse files Browse the repository at this point in the history
Tested with Hugo v0.135.0

Addresses `.Summary` breaking changes in Hugo v0.134: https://github.com/gohugoio/hugo/releases/tag/v0.134.0
  • Loading branch information
gcushen committed Oct 16, 2024
1 parent fdf45ba commit 2eaf5f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/blox-seo/layouts/partials/seo_tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion modules/blox-tailwind/layouts/partials/site_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}" />
Expand Down

0 comments on commit 2eaf5f6

Please sign in to comment.