Skip to content

Commit

Permalink
updated support for Hugo latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
nunocoracao committed Nov 2, 2023
1 parent 3a81de2 commit f36b17d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[module.hugoVersion]
extended = true
min = "0.87.0"
max = "0.119.0"
max = "0.120.3"
2 changes: 1 addition & 1 deletion layouts/partials/article-meta/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div class="flex flex-row flex-wrap items-center">
{{/* Output partials */}}
{{ with ($meta.Get "partials") }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" | safeHTML }}
{{ end }}

{{/* Output draft label */}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/article-meta/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div class="flex flex-row flex-wrap items-center">
{{/* Output partials */}}
{{ with ($meta.Get "partials") }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" | safeHTML}}
{{ end }}
</div>

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/article-meta/taxonomy.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div class="flex flex-row flex-wrap items-center">
{{/* Output partials */}}
{{ with ($meta.Get "partials") }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" | safeHTML}}
{{ end }}
</div>

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/article-meta/term.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div class="flex flex-row flex-wrap items-center">
{{/* Output partials */}}
{{ with ($meta.Get "partials") }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" | safeHTML}}
{{ end }}
</div>

Expand Down

0 comments on commit f36b17d

Please sign in to comment.