commit d717c2bca71e33c0a5c9cc4a10c258eba57230d1
parent 42455061f1839346a16cb5375c735ba4cb2b121f
Author: Lou Woell <lou.woell@posteo.de>
Date: Sat, 7 Sep 2024 12:27:28 +0200
fix after Hugo v.134.1
Hugo v0.134.1 changes the handling of summary, to get a summary without
shortcode rendering etc. the summary must be passed through `plainify` now.
https://github.com/gohugoio/hugo/releases/tag/v0.134.0
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config.toml b/config.toml
@@ -1,4 +1,4 @@
[module]
[module.hugoVersion]
extended = true
- min = '0.90.0'
+ min = '0.134.1'
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
@@ -42,7 +42,7 @@
{{ else if .Description }}
{{ .Description | markdownify }}
{{ else }}
- {{ .Summary }}
+ {{ .Summary | plainify }}
{{ end }}
{{ if not .Params.showFullContent }}
diff --git a/theme.toml b/theme.toml
@@ -5,7 +5,7 @@ description = "A simple, retro theme for Hugo."
homepage = "https://github.com/panr/hugo-theme-terminal/"
tags = ["blog", "clean", "customizable", "dark", "highlighting", "minimal", "monotone", "multilingual", "personal", "responsive", "simple", "technical", "retro"]
features = ["blog", "shortcode", "syntax highlighting"]
-min_version = 0.90
+min_version = 0.134.1
[author]
name = "panr"