Skip to content

Commit 48bd104

Browse files
committed
fix: Hugo v0.48.2 incorrectly parsing views
Due to Hugo breaking changes treating filenames differently
1 parent f309e9c commit 48bd104

File tree

11 files changed

+3
-3
lines changed

11 files changed

+3
-3
lines changed

β€Žmodules/blox-tailwind/assets/dist/wc.min.cssβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Hugo Blox metadata
22

3-
version: "0.4.0"
3+
version: "0.4.1"

β€Žmodules/blox-tailwind/layouts/partials/functions/render_view.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{{ if eq $fragment "body" }}
1818
{{ $html = (partial (printf "views/%s" $view) (dict "page" $page "item" $item "index" $index "config" (.config | default dict))) }}
1919
{{ else }}
20-
{{ $html = (partial (printf "views/%s.%s" $view $fragment) (dict "page" $page "item" $item "index" $index "config" (.config | default dict))) }}
20+
{{ $html = (partial (printf "views/%s--%s" $view $fragment) (dict "page" $page "item" $item "index" $index "config" (.config | default dict))) }}
2121
{{ end }}
2222

2323
{{ return $html }}

0 commit comments

Comments
Β (0)