Skip to content

Commit

Permalink
Merge pull request #2 from purerstamp/main
Browse files Browse the repository at this point in the history
Compatibility issue with `delimit` function in Hugo 0.120.0
  • Loading branch information
pmichaillat committed Apr 13, 2024
2 parents 63c4af9 + 85dc8c8 commit 0ca3e27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/PaperMod/layouts/partials/author.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- $author := (.Params.author | default site.Params.author) }}
{{- $author_type := (printf "%T" $author) }}
{{- if (or (eq $author_type "[]string") (eq $author_type "[]interface {}")) }}
{{- (delimit $author ", " ) }}
{{- (delimit $author ", " | safeHTML ) }}
{{- else }}
{{- $author }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion themes/PaperMod/layouts/partials/post_meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
{{- end }}

{{- with ($scratch.Get "meta") }}
{{- delimit . " · " -}}
{{- delimit . " · " | safeHTML -}}
{{- end -}}

0 comments on commit 0ca3e27

Please sign in to comment.