mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
highlight: fix codefence syntax in Hugo >= 0.121.0 #749
This commit is contained in:
parent
e08d5a54a5
commit
609539c314
2 changed files with 3 additions and 1 deletions
|
@ -40,6 +40,8 @@ This document shows you what's new in the latest release and flags it with one o
|
||||||
|
|
||||||
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The themes [config](basics/configuration) and [frontmatter](cont/frontmatter) options received a comprehensive documentation update. In addition the theme switched from `config.toml` to `hugo.toml`.
|
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The themes [config](basics/configuration) and [frontmatter](cont/frontmatter) options received a comprehensive documentation update. In addition the theme switched from `config.toml` to `hugo.toml`.
|
||||||
|
|
||||||
|
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Restored compatibility with Hugo versions {{% badge color="fuchsia" icon="fab fa-hackerrank" title=" " %}}0.121.0{{% /badge %}} or higher for the [`highlight` shortcode](shortcodes/highlight). This does not change the minimum required Hugo version.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 5.23.0 (2023-11-03) {#5230}
|
## 5.23.0 (2023-11-03) {#5230}
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $params := slice }}
|
{{- $params := slice }}
|
||||||
{{- range $k, $v := $options }}
|
{{- range $k, $v := $options }}
|
||||||
{{- $params = $params | append (printf "%s=%s" $k $v) }}
|
{{- $params = $params | append (printf "%s=%s" $k (string $v)) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $params = delimit $params ", " }}
|
{{- $params = delimit $params ", " }}
|
||||||
{{- $title := "" }}
|
{{- $title := "" }}
|
||||||
|
|
Loading…
Reference in a new issue