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 }}

modules/blox-tailwind/layouts/partials/views/article-grid.end.html renamed to modules/blox-tailwind/layouts/partials/views/article-grid--end.html

File renamed without changes.

modules/blox-tailwind/layouts/partials/views/article-grid.start.html renamed to modules/blox-tailwind/layouts/partials/views/article-grid--start.html

File renamed without changes.

modules/blox-tailwind/layouts/partials/views/card.end.html renamed to modules/blox-tailwind/layouts/partials/views/card--end.html

File renamed without changes.

modules/blox-tailwind/layouts/partials/views/card.start.html renamed to modules/blox-tailwind/layouts/partials/views/card--start.html

File renamed without changes.

modules/blox-tailwind/layouts/partials/views/citation.end.html renamed to modules/blox-tailwind/layouts/partials/views/citation--end.html

File renamed without changes.

modules/blox-tailwind/layouts/partials/views/citation.start.html renamed to modules/blox-tailwind/layouts/partials/views/citation--start.html

File renamed without changes.

modules/blox-tailwind/layouts/partials/views/date-title-summary.end.html renamed to modules/blox-tailwind/layouts/partials/views/date-title-summary--end.html

File renamed without changes.

0 commit comments

Comments
 (0)