diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/index.html b/modules/blox-analytics/layouts/_partials/blox-analytics/index.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/index.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/index.html diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/services/baidu_tongji.html b/modules/blox-analytics/layouts/_partials/blox-analytics/services/baidu_tongji.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/services/baidu_tongji.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/services/baidu_tongji.html diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/services/fathom.html b/modules/blox-analytics/layouts/_partials/blox-analytics/services/fathom.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/services/fathom.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/services/fathom.html diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/services/google_analytics.html b/modules/blox-analytics/layouts/_partials/blox-analytics/services/google_analytics.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/services/google_analytics.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/services/google_analytics.html diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/services/google_tag_manager.html b/modules/blox-analytics/layouts/_partials/blox-analytics/services/google_tag_manager.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/services/google_tag_manager.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/services/google_tag_manager.html diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/services/index.html b/modules/blox-analytics/layouts/_partials/blox-analytics/services/index.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/services/index.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/services/index.html diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/services/microsoft_clarity.html b/modules/blox-analytics/layouts/_partials/blox-analytics/services/microsoft_clarity.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/services/microsoft_clarity.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/services/microsoft_clarity.html diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/services/pirsch.html b/modules/blox-analytics/layouts/_partials/blox-analytics/services/pirsch.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/services/pirsch.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/services/pirsch.html diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/services/plausible.html b/modules/blox-analytics/layouts/_partials/blox-analytics/services/plausible.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/services/plausible.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/services/plausible.html diff --git a/modules/blox-analytics/layouts/partials/blox-analytics/verification.html b/modules/blox-analytics/layouts/_partials/blox-analytics/verification.html similarity index 100% rename from modules/blox-analytics/layouts/partials/blox-analytics/verification.html rename to modules/blox-analytics/layouts/_partials/blox-analytics/verification.html diff --git a/modules/blox-bootstrap/layouts/_default/_markup/render-codeblock-markmap.html b/modules/blox-bootstrap/layouts/_markup/render-codeblock-markmap.html similarity index 100% rename from modules/blox-bootstrap/layouts/_default/_markup/render-codeblock-markmap.html rename to modules/blox-bootstrap/layouts/_markup/render-codeblock-markmap.html diff --git a/modules/blox-bootstrap/layouts/_default/_markup/render-codeblock-mermaid.html b/modules/blox-bootstrap/layouts/_markup/render-codeblock-mermaid.html similarity index 100% rename from modules/blox-bootstrap/layouts/_default/_markup/render-codeblock-mermaid.html rename to modules/blox-bootstrap/layouts/_markup/render-codeblock-mermaid.html diff --git a/modules/blox-bootstrap/layouts/_default/_markup/render-image.html b/modules/blox-bootstrap/layouts/_markup/render-image.html similarity index 100% rename from modules/blox-bootstrap/layouts/_default/_markup/render-image.html rename to modules/blox-bootstrap/layouts/_markup/render-image.html diff --git a/modules/blox-bootstrap/layouts/_default/_markup/render-link.html b/modules/blox-bootstrap/layouts/_markup/render-link.html similarity index 100% rename from modules/blox-bootstrap/layouts/_default/_markup/render-link.html rename to modules/blox-bootstrap/layouts/_markup/render-link.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/about.avatar.html b/modules/blox-bootstrap/layouts/_partials/blocks/about.avatar.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/about.avatar.html rename to modules/blox-bootstrap/layouts/_partials/blocks/about.avatar.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/about.biography.html b/modules/blox-bootstrap/layouts/_partials/blocks/about.biography.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/about.biography.html rename to modules/blox-bootstrap/layouts/_partials/blocks/about.biography.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/accomplishments.html b/modules/blox-bootstrap/layouts/_partials/blocks/accomplishments.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/accomplishments.html rename to modules/blox-bootstrap/layouts/_partials/blocks/accomplishments.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/collection.html b/modules/blox-bootstrap/layouts/_partials/blocks/collection.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/collection.html rename to modules/blox-bootstrap/layouts/_partials/blocks/collection.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/contact.html b/modules/blox-bootstrap/layouts/_partials/blocks/contact.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/contact.html rename to modules/blox-bootstrap/layouts/_partials/blocks/contact.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/experience.html b/modules/blox-bootstrap/layouts/_partials/blocks/experience.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/experience.html rename to modules/blox-bootstrap/layouts/_partials/blocks/experience.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/features.html b/modules/blox-bootstrap/layouts/_partials/blocks/features.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/features.html rename to modules/blox-bootstrap/layouts/_partials/blocks/features.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/hero.html b/modules/blox-bootstrap/layouts/_partials/blocks/hero.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/hero.html rename to modules/blox-bootstrap/layouts/_partials/blocks/hero.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/markdown.html b/modules/blox-bootstrap/layouts/_partials/blocks/markdown.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/markdown.html rename to modules/blox-bootstrap/layouts/_partials/blocks/markdown.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/people.html b/modules/blox-bootstrap/layouts/_partials/blocks/people.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/people.html rename to modules/blox-bootstrap/layouts/_partials/blocks/people.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/portfolio.html b/modules/blox-bootstrap/layouts/_partials/blocks/portfolio.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/portfolio.html rename to modules/blox-bootstrap/layouts/_partials/blocks/portfolio.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/skills.html b/modules/blox-bootstrap/layouts/_partials/blocks/skills.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/skills.html rename to modules/blox-bootstrap/layouts/_partials/blocks/skills.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/slider.html b/modules/blox-bootstrap/layouts/_partials/blocks/slider.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/slider.html rename to modules/blox-bootstrap/layouts/_partials/blocks/slider.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/tag_cloud.html b/modules/blox-bootstrap/layouts/_partials/blocks/tag_cloud.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/tag_cloud.html rename to modules/blox-bootstrap/layouts/_partials/blocks/tag_cloud.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/about.avatar.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/about.avatar.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/about.avatar.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/about.avatar.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/about.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/about.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/about.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/about.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/accomplishments.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/accomplishments.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/accomplishments.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/accomplishments.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/collection.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/collection.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/collection.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/collection.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/contact.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/contact.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/contact.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/contact.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/experience.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/experience.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/experience.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/experience.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/features.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/features.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/features.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/features.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/hero.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/hero.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/hero.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/hero.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/markdown.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/markdown.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/markdown.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/markdown.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/people.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/people.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/people.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/people.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/portfolio.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/portfolio.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/portfolio.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/portfolio.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/slider.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/slider.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/slider.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/slider.html diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/tag_cloud.html b/modules/blox-bootstrap/layouts/_partials/blocks/v1/tag_cloud.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/blocks/v1/tag_cloud.html rename to modules/blox-bootstrap/layouts/_partials/blocks/v1/tag_cloud.html diff --git a/modules/blox-bootstrap/layouts/partials/book_layout.html b/modules/blox-bootstrap/layouts/_partials/book_layout.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/book_layout.html rename to modules/blox-bootstrap/layouts/_partials/book_layout.html diff --git a/modules/blox-bootstrap/layouts/partials/book_menu.html b/modules/blox-bootstrap/layouts/_partials/book_menu.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/book_menu.html rename to modules/blox-bootstrap/layouts/_partials/book_menu.html diff --git a/modules/blox-bootstrap/layouts/partials/book_sidebar.html b/modules/blox-bootstrap/layouts/_partials/book_sidebar.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/book_sidebar.html rename to modules/blox-bootstrap/layouts/_partials/book_sidebar.html diff --git a/modules/blox-bootstrap/layouts/partials/citation.html b/modules/blox-bootstrap/layouts/_partials/citation.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/citation.html rename to modules/blox-bootstrap/layouts/_partials/citation.html diff --git a/modules/blox-tailwind/layouts/partials/comments.html b/modules/blox-bootstrap/layouts/_partials/comments.html similarity index 86% rename from modules/blox-tailwind/layouts/partials/comments.html rename to modules/blox-bootstrap/layouts/_partials/comments.html index 6118c163..f9432919 100644 --- a/modules/blox-tailwind/layouts/partials/comments.html +++ b/modules/blox-bootstrap/layouts/_partials/comments.html @@ -1,7 +1,7 @@ {{ $provider := trim (site.Params.features.comment.provider | lower) " " }} {{ if $provider }} - {{ $provider_tpl := printf "partials/comments/%s.html" $provider }} + {{ $provider_tpl := printf "_partials/comments/%s.html" $provider }} {{ $provider_exists := templates.Exists $provider_tpl }} {{ if not $provider_exists }} {{ errorf "The '%s' comment provider was not found." $provider }} diff --git a/modules/blox-bootstrap/layouts/partials/comments/commento.html b/modules/blox-bootstrap/layouts/_partials/comments/commento.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/comments/commento.html rename to modules/blox-bootstrap/layouts/_partials/comments/commento.html diff --git a/modules/blox-bootstrap/layouts/partials/comments/disqus.html b/modules/blox-bootstrap/layouts/_partials/comments/disqus.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/comments/disqus.html rename to modules/blox-bootstrap/layouts/_partials/comments/disqus.html diff --git a/modules/blox-bootstrap/layouts/partials/comments/giscus.html b/modules/blox-bootstrap/layouts/_partials/comments/giscus.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/comments/giscus.html rename to modules/blox-bootstrap/layouts/_partials/comments/giscus.html diff --git a/modules/blox-bootstrap/layouts/partials/components/announcement_bar.html b/modules/blox-bootstrap/layouts/_partials/components/announcement_bar.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/components/announcement_bar.html rename to modules/blox-bootstrap/layouts/_partials/components/announcement_bar.html diff --git a/modules/blox-bootstrap/layouts/partials/components/breadcrumb.html b/modules/blox-bootstrap/layouts/_partials/components/breadcrumb.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/components/breadcrumb.html rename to modules/blox-bootstrap/layouts/_partials/components/breadcrumb.html diff --git a/modules/blox-bootstrap/layouts/partials/components/feedback.html b/modules/blox-bootstrap/layouts/_partials/components/feedback.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/components/feedback.html rename to modules/blox-bootstrap/layouts/_partials/components/feedback.html diff --git a/modules/blox-bootstrap/layouts/partials/components/footers/minimal.html b/modules/blox-bootstrap/layouts/_partials/components/footers/minimal.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/components/footers/minimal.html rename to modules/blox-bootstrap/layouts/_partials/components/footers/minimal.html diff --git a/modules/blox-bootstrap/layouts/partials/components/headers/navbar.html b/modules/blox-bootstrap/layouts/_partials/components/headers/navbar.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/components/headers/navbar.html rename to modules/blox-bootstrap/layouts/_partials/components/headers/navbar.html diff --git a/modules/blox-bootstrap/layouts/partials/components/page_sharer.html b/modules/blox-bootstrap/layouts/_partials/components/page_sharer.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/components/page_sharer.html rename to modules/blox-bootstrap/layouts/_partials/components/page_sharer.html diff --git a/modules/blox-bootstrap/layouts/partials/components/pager.html b/modules/blox-bootstrap/layouts/_partials/components/pager.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/components/pager.html rename to modules/blox-bootstrap/layouts/_partials/components/pager.html diff --git a/modules/blox-bootstrap/layouts/partials/cookie_consent.html b/modules/blox-bootstrap/layouts/_partials/cookie_consent.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/cookie_consent.html rename to modules/blox-bootstrap/layouts/_partials/cookie_consent.html diff --git a/modules/blox-bootstrap/layouts/partials/functions/get_address.html b/modules/blox-bootstrap/layouts/_partials/functions/get_address.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/functions/get_address.html rename to modules/blox-bootstrap/layouts/_partials/functions/get_address.html diff --git a/modules/blox-bootstrap/layouts/partials/functions/get_event_dates.html b/modules/blox-bootstrap/layouts/_partials/functions/get_event_dates.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/functions/get_event_dates.html rename to modules/blox-bootstrap/layouts/_partials/functions/get_event_dates.html diff --git a/modules/blox-bootstrap/layouts/partials/functions/get_pub_types.html b/modules/blox-bootstrap/layouts/_partials/functions/get_pub_types.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/functions/get_pub_types.html rename to modules/blox-bootstrap/layouts/_partials/functions/get_pub_types.html diff --git a/modules/blox-bootstrap/layouts/partials/functions/get_social_link.html b/modules/blox-bootstrap/layouts/_partials/functions/get_social_link.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/functions/get_social_link.html rename to modules/blox-bootstrap/layouts/_partials/functions/get_social_link.html diff --git a/modules/blox-bootstrap/layouts/partials/functions/has_attachments.html b/modules/blox-bootstrap/layouts/_partials/functions/has_attachments.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/functions/has_attachments.html rename to modules/blox-bootstrap/layouts/_partials/functions/has_attachments.html diff --git a/modules/blox-bootstrap/layouts/partials/functions/parse_block_v1.html b/modules/blox-bootstrap/layouts/_partials/functions/parse_block_v1.html similarity index 98% rename from modules/blox-bootstrap/layouts/partials/functions/parse_block_v1.html rename to modules/blox-bootstrap/layouts/_partials/functions/parse_block_v1.html index 9851feef..744c0536 100644 --- a/modules/blox-bootstrap/layouts/partials/functions/parse_block_v1.html +++ b/modules/blox-bootstrap/layouts/_partials/functions/parse_block_v1.html @@ -11,7 +11,7 @@ {{ if eq $block_type "pages" }}{{ $block_type = "collection" }}{{ end }}{{/* Support legacy Pages block */}} {{ if eq $block_type "featured" }}{{ $block_type = "collection" }}{{ end }}{{/* Support legacy Featured block */}} {{ $widget_path := printf "blocks/v1/%s.html" $block_type }} -{{ if not (templates.Exists (printf "partials/%s" $widget_path)) }} +{{ if not (templates.Exists (printf "_partials/%s" $widget_path)) }} {{ errorf "%s uses a `%s` block but the `%s` block was not found at `layouts/partials/%s`" $block.File.Path $block_type $block_type $widget_path }} {{ end }} @@ -102,7 +102,7 @@ {{ $widget_class := printf "wg-%s" (replace (replace $block_type "." "-") "_" "-") }} {{ $widget_config_file := printf "blocks/v1/%s-config.html" $block_type }} -{{ if templates.Exists (printf "partials/%s" $widget_config_file) }} +{{ if templates.Exists (printf "_partials/%s" $widget_config_file) }} {{ $cfg := partial $widget_config_file $widget_args }} {{ $use_container = $cfg.use_container }} {{end}} diff --git a/modules/blox-bootstrap/layouts/partials/functions/parse_block_v2.html b/modules/blox-bootstrap/layouts/_partials/functions/parse_block_v2.html similarity index 97% rename from modules/blox-bootstrap/layouts/partials/functions/parse_block_v2.html rename to modules/blox-bootstrap/layouts/_partials/functions/parse_block_v2.html index 7e20ad22..c72eb82c 100644 --- a/modules/blox-bootstrap/layouts/partials/functions/parse_block_v2.html +++ b/modules/blox-bootstrap/layouts/_partials/functions/parse_block_v2.html @@ -7,7 +7,7 @@ {{ $block_type := lower $block.block | default "markdown" }} {{ $block_path := printf "blocks/%s.html" $block_type }} -{{ if not (templates.Exists (printf "partials/%s" $block_path)) }} +{{ if not (templates.Exists (printf "_partials/%s" $block_path)) }} {{ errorf "%s uses a `%s` block but the `%s` block was not found at `layouts/partials/%s`" $block.File.Path $block_type $block_type $block_path }} {{ end }} @@ -107,7 +107,7 @@ {{ $widget_class := printf "wg-%s" (replace (replace $block_type "." "-") "_" "-") }} {{ $widget_config_file := printf "blocks/%s-config.html" $block_type }} -{{ if templates.Exists (printf "partials/%s" $widget_config_file) }} +{{ if templates.Exists (printf "_partials/%s" $widget_config_file) }} {{ $cfg := partial $widget_config_file $widget_args }} {{ with $cfg.use_container }}{{ $use_container = . }}{{ end }} {{ with $cfg.inject_section_heading }}{{ $use_cols = . }}{{ end }} diff --git a/modules/blox-bootstrap/layouts/partials/functions/parse_theme.html b/modules/blox-bootstrap/layouts/_partials/functions/parse_theme.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/functions/parse_theme.html rename to modules/blox-bootstrap/layouts/_partials/functions/parse_theme.html diff --git a/modules/blox-bootstrap/layouts/partials/functions/render_view.html b/modules/blox-bootstrap/layouts/_partials/functions/render_view.html similarity index 92% rename from modules/blox-bootstrap/layouts/partials/functions/render_view.html rename to modules/blox-bootstrap/layouts/_partials/functions/render_view.html index ea476e8a..1d0d7833 100644 --- a/modules/blox-bootstrap/layouts/partials/functions/render_view.html +++ b/modules/blox-bootstrap/layouts/_partials/functions/render_view.html @@ -21,7 +21,7 @@ {{ $view_file = "compact" }} {{ end }} {{else}} - {{ if templates.Exists (printf "partials/views/%s.html" (lower $view)) }} + {{ if templates.Exists (printf "_partials/views/%s.html" (lower $view)) }} {{ $view_file = lower $view }} {{else}} {{/* Fallback to compact view */}} diff --git a/modules/blox-bootstrap/layouts/partials/landing_page.html b/modules/blox-bootstrap/layouts/_partials/landing_page.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/landing_page.html rename to modules/blox-bootstrap/layouts/_partials/landing_page.html diff --git a/modules/blox-bootstrap/layouts/partials/page_author.html b/modules/blox-bootstrap/layouts/_partials/page_author.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_author.html rename to modules/blox-bootstrap/layouts/_partials/page_author.html diff --git a/modules/blox-bootstrap/layouts/partials/page_author_card.html b/modules/blox-bootstrap/layouts/_partials/page_author_card.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_author_card.html rename to modules/blox-bootstrap/layouts/_partials/page_author_card.html diff --git a/modules/blox-bootstrap/layouts/partials/page_edit.html b/modules/blox-bootstrap/layouts/_partials/page_edit.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_edit.html rename to modules/blox-bootstrap/layouts/_partials/page_edit.html diff --git a/modules/blox-bootstrap/layouts/partials/page_footer.html b/modules/blox-bootstrap/layouts/_partials/page_footer.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_footer.html rename to modules/blox-bootstrap/layouts/_partials/page_footer.html diff --git a/modules/blox-bootstrap/layouts/partials/page_header.html b/modules/blox-bootstrap/layouts/_partials/page_header.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_header.html rename to modules/blox-bootstrap/layouts/_partials/page_header.html diff --git a/modules/blox-bootstrap/layouts/partials/page_links.html b/modules/blox-bootstrap/layouts/_partials/page_links.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_links.html rename to modules/blox-bootstrap/layouts/_partials/page_links.html diff --git a/modules/blox-bootstrap/layouts/partials/page_links_div.html b/modules/blox-bootstrap/layouts/_partials/page_links_div.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_links_div.html rename to modules/blox-bootstrap/layouts/_partials/page_links_div.html diff --git a/modules/blox-bootstrap/layouts/partials/page_metadata.html b/modules/blox-bootstrap/layouts/_partials/page_metadata.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_metadata.html rename to modules/blox-bootstrap/layouts/_partials/page_metadata.html diff --git a/modules/blox-bootstrap/layouts/partials/page_metadata_authors.html b/modules/blox-bootstrap/layouts/_partials/page_metadata_authors.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_metadata_authors.html rename to modules/blox-bootstrap/layouts/_partials/page_metadata_authors.html diff --git a/modules/blox-bootstrap/layouts/partials/page_related.html b/modules/blox-bootstrap/layouts/_partials/page_related.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/page_related.html rename to modules/blox-bootstrap/layouts/_partials/page_related.html diff --git a/modules/blox-bootstrap/layouts/partials/pagination.html b/modules/blox-bootstrap/layouts/_partials/pagination.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/pagination.html rename to modules/blox-bootstrap/layouts/_partials/pagination.html diff --git a/modules/blox-bootstrap/layouts/partials/search.html b/modules/blox-bootstrap/layouts/_partials/search.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/search.html rename to modules/blox-bootstrap/layouts/_partials/search.html diff --git a/modules/blox-bootstrap/layouts/partials/site_footer.html b/modules/blox-bootstrap/layouts/_partials/site_footer.html similarity index 95% rename from modules/blox-bootstrap/layouts/partials/site_footer.html rename to modules/blox-bootstrap/layouts/_partials/site_footer.html index 503b203f..0add8bd0 100644 --- a/modules/blox-bootstrap/layouts/partials/site_footer.html +++ b/modules/blox-bootstrap/layouts/_partials/site_footer.html @@ -5,7 +5,7 @@ {{/* Load footer block */}} {{ $footer_section_name := site.Params.footer.block | default "minimal" }} {{ $footer_section_path := printf "components/footers/%s.html" $footer_section_name }} - {{ if not (templates.Exists (printf "partials/%s" $footer_section_path)) }} + {{ if not (templates.Exists (printf "_partials/%s" $footer_section_path)) }} {{ errorf "Check your `params.yaml`. Cannot find footer block at `layouts/partials/%s`" $footer_section_path }} {{ end }} {{ partial $footer_section_path . }} diff --git a/modules/blox-bootstrap/layouts/partials/site_footer_license.html b/modules/blox-bootstrap/layouts/_partials/site_footer_license.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/site_footer_license.html rename to modules/blox-bootstrap/layouts/_partials/site_footer_license.html diff --git a/modules/blox-bootstrap/layouts/partials/site_head.html b/modules/blox-bootstrap/layouts/_partials/site_head.html similarity index 99% rename from modules/blox-bootstrap/layouts/partials/site_head.html rename to modules/blox-bootstrap/layouts/_partials/site_head.html index 561ea378..94ba8c9f 100644 --- a/modules/blox-bootstrap/layouts/partials/site_head.html +++ b/modules/blox-bootstrap/layouts/_partials/site_head.html @@ -215,7 +215,7 @@ {{/* EXTENSIBILITY HOOK: HEAD-END */}} {{/* Deprecated custom_head hook */}} - {{ if templates.Exists "partials/custom_head.html" }} + {{ if templates.Exists "_partials/custom_head.html" }} {{ partial "custom_head" . }} {{ end }} {{ partial "blox-core/functions/get_hook" (dict "hook" "head-end" "context" .) }} diff --git a/modules/blox-bootstrap/layouts/partials/site_js.html b/modules/blox-bootstrap/layouts/_partials/site_js.html similarity index 99% rename from modules/blox-bootstrap/layouts/partials/site_js.html rename to modules/blox-bootstrap/layouts/_partials/site_js.html index ab06c662..07125ac8 100644 --- a/modules/blox-bootstrap/layouts/partials/site_js.html +++ b/modules/blox-bootstrap/layouts/_partials/site_js.html @@ -267,7 +267,7 @@ {{/* EXTENSIBILITY HOOK: BODY-END */}} {{/* Deprecated custom_js hook */}} -{{ if templates.Exists "partials/custom_js.html" }} +{{ if templates.Exists "_partials/custom_js.html" }} {{ partial "custom_js" . }} {{ end }} {{ partial "blox-core/functions/get_hook" (dict "hook" "body-end" "context" .) }} diff --git a/modules/blox-bootstrap/layouts/partials/social_links.html b/modules/blox-bootstrap/layouts/_partials/social_links.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/social_links.html rename to modules/blox-bootstrap/layouts/_partials/social_links.html diff --git a/modules/blox-bootstrap/layouts/partials/tags.html b/modules/blox-bootstrap/layouts/_partials/tags.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/tags.html rename to modules/blox-bootstrap/layouts/_partials/tags.html diff --git a/modules/blox-bootstrap/layouts/partials/views/card.html b/modules/blox-bootstrap/layouts/_partials/views/card.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/views/card.html rename to modules/blox-bootstrap/layouts/_partials/views/card.html diff --git a/modules/blox-bootstrap/layouts/partials/views/citation.html b/modules/blox-bootstrap/layouts/_partials/views/citation.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/views/citation.html rename to modules/blox-bootstrap/layouts/_partials/views/citation.html diff --git a/modules/blox-bootstrap/layouts/partials/views/community/.gitkeep b/modules/blox-bootstrap/layouts/_partials/views/community/.gitkeep similarity index 100% rename from modules/blox-bootstrap/layouts/partials/views/community/.gitkeep rename to modules/blox-bootstrap/layouts/_partials/views/community/.gitkeep diff --git a/modules/blox-bootstrap/layouts/partials/views/compact.html b/modules/blox-bootstrap/layouts/_partials/views/compact.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/views/compact.html rename to modules/blox-bootstrap/layouts/_partials/views/compact.html diff --git a/modules/blox-bootstrap/layouts/partials/views/list.html b/modules/blox-bootstrap/layouts/_partials/views/list.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/views/list.html rename to modules/blox-bootstrap/layouts/_partials/views/list.html diff --git a/modules/blox-bootstrap/layouts/partials/views/masonry.html b/modules/blox-bootstrap/layouts/_partials/views/masonry.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/views/masonry.html rename to modules/blox-bootstrap/layouts/_partials/views/masonry.html diff --git a/modules/blox-bootstrap/layouts/partials/views/showcase.html b/modules/blox-bootstrap/layouts/_partials/views/showcase.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/views/showcase.html rename to modules/blox-bootstrap/layouts/_partials/views/showcase.html diff --git a/modules/blox-bootstrap/layouts/partials/widget_page.html b/modules/blox-bootstrap/layouts/_partials/widget_page.html similarity index 100% rename from modules/blox-bootstrap/layouts/partials/widget_page.html rename to modules/blox-bootstrap/layouts/_partials/widget_page.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/audio.html b/modules/blox-bootstrap/layouts/_shortcodes/audio.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/audio.html rename to modules/blox-bootstrap/layouts/_shortcodes/audio.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/bilibili.html b/modules/blox-bootstrap/layouts/_shortcodes/bilibili.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/bilibili.html rename to modules/blox-bootstrap/layouts/_shortcodes/bilibili.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/callout.html b/modules/blox-bootstrap/layouts/_shortcodes/callout.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/callout.html rename to modules/blox-bootstrap/layouts/_shortcodes/callout.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/chart.html b/modules/blox-bootstrap/layouts/_shortcodes/chart.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/chart.html rename to modules/blox-bootstrap/layouts/_shortcodes/chart.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/cite.html b/modules/blox-bootstrap/layouts/_shortcodes/cite.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/cite.html rename to modules/blox-bootstrap/layouts/_shortcodes/cite.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/cta.html b/modules/blox-bootstrap/layouts/_shortcodes/cta.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/cta.html rename to modules/blox-bootstrap/layouts/_shortcodes/cta.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/emoji_list.html b/modules/blox-bootstrap/layouts/_shortcodes/emoji_list.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/emoji_list.html rename to modules/blox-bootstrap/layouts/_shortcodes/emoji_list.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/figure.html b/modules/blox-bootstrap/layouts/_shortcodes/figure.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/figure.html rename to modules/blox-bootstrap/layouts/_shortcodes/figure.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/gallery.html b/modules/blox-bootstrap/layouts/_shortcodes/gallery.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/gallery.html rename to modules/blox-bootstrap/layouts/_shortcodes/gallery.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/gdocs.html b/modules/blox-bootstrap/layouts/_shortcodes/gdocs.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/gdocs.html rename to modules/blox-bootstrap/layouts/_shortcodes/gdocs.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/hl.html b/modules/blox-bootstrap/layouts/_shortcodes/hl.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/hl.html rename to modules/blox-bootstrap/layouts/_shortcodes/hl.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/icon.html b/modules/blox-bootstrap/layouts/_shortcodes/icon.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/icon.html rename to modules/blox-bootstrap/layouts/_shortcodes/icon.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/list_categories.html b/modules/blox-bootstrap/layouts/_shortcodes/list_categories.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/list_categories.html rename to modules/blox-bootstrap/layouts/_shortcodes/list_categories.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/list_children.html b/modules/blox-bootstrap/layouts/_shortcodes/list_children.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/list_children.html rename to modules/blox-bootstrap/layouts/_shortcodes/list_children.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/list_tags.html b/modules/blox-bootstrap/layouts/_shortcodes/list_tags.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/list_tags.html rename to modules/blox-bootstrap/layouts/_shortcodes/list_tags.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/math.html b/modules/blox-bootstrap/layouts/_shortcodes/math.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/math.html rename to modules/blox-bootstrap/layouts/_shortcodes/math.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/mention.html b/modules/blox-bootstrap/layouts/_shortcodes/mention.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/mention.html rename to modules/blox-bootstrap/layouts/_shortcodes/mention.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/spoiler.html b/modules/blox-bootstrap/layouts/_shortcodes/spoiler.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/spoiler.html rename to modules/blox-bootstrap/layouts/_shortcodes/spoiler.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/staticref.html b/modules/blox-bootstrap/layouts/_shortcodes/staticref.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/staticref.html rename to modules/blox-bootstrap/layouts/_shortcodes/staticref.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/table.html b/modules/blox-bootstrap/layouts/_shortcodes/table.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/table.html rename to modules/blox-bootstrap/layouts/_shortcodes/table.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/toc.html b/modules/blox-bootstrap/layouts/_shortcodes/toc.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/toc.html rename to modules/blox-bootstrap/layouts/_shortcodes/toc.html diff --git a/modules/blox-bootstrap/layouts/shortcodes/video.html b/modules/blox-bootstrap/layouts/_shortcodes/video.html similarity index 100% rename from modules/blox-bootstrap/layouts/shortcodes/video.html rename to modules/blox-bootstrap/layouts/_shortcodes/video.html diff --git a/modules/blox-bootstrap/layouts/_default/baseof.html b/modules/blox-bootstrap/layouts/baseof.html similarity index 98% rename from modules/blox-bootstrap/layouts/_default/baseof.html rename to modules/blox-bootstrap/layouts/baseof.html index 84223ae3..9227aedb 100644 --- a/modules/blox-bootstrap/layouts/_default/baseof.html +++ b/modules/blox-bootstrap/layouts/baseof.html @@ -40,7 +40,7 @@ {{/* Load header block */}} {{ $block_name := .Params.header.navbar.block | default site.Params.header.navbar.block | default "navbar" }} {{ $block_path := printf "components/headers/%s.html" $block_name }} - {{ if not (templates.Exists (printf "partials/%s" $block_path)) }} + {{ if not (templates.Exists (printf "_partials/%s" $block_path)) }} {{ errorf "Check your `header` config in `params.yaml` and/or front matter. Cannot find header block at `layouts/partials/%s`" $block_path }} {{ end }} {{ partial $block_path . }} diff --git a/modules/blox-bootstrap/layouts/section/event.html b/modules/blox-bootstrap/layouts/event/section.html similarity index 100% rename from modules/blox-bootstrap/layouts/section/event.html rename to modules/blox-bootstrap/layouts/event/section.html diff --git a/modules/blox-bootstrap/layouts/index.html b/modules/blox-bootstrap/layouts/home.html similarity index 100% rename from modules/blox-bootstrap/layouts/index.html rename to modules/blox-bootstrap/layouts/home.html diff --git a/modules/blox-bootstrap/layouts/_default/list.html b/modules/blox-bootstrap/layouts/list.html similarity index 76% rename from modules/blox-bootstrap/layouts/_default/list.html rename to modules/blox-bootstrap/layouts/list.html index 231fbdaf..64d972d5 100644 --- a/modules/blox-bootstrap/layouts/_default/list.html +++ b/modules/blox-bootstrap/layouts/list.html @@ -8,7 +8,7 @@ {{ end }} - {{ if templates.Exists (printf "partials/views/%s-start.html" (lower $.Params.view | default "compact")) }} + {{ if templates.Exists (printf "_partials/views/%s-start.html" (lower $.Params.view | default "compact")) }} {{ partial "functions/render_view" (dict "page" $ "item" . "view" (printf "%s-start" $.Params.view) "index" 0) }} {{ end }} @@ -17,7 +17,7 @@ {{ partial "functions/render_view" (dict "page" $ "item" . "view" ($.Params.view | default "compact") "index" $index) }} {{end}} - {{ if templates.Exists (printf "partials/views/%s-end.html" (lower $.Params.view | default "compact")) }} + {{ if templates.Exists (printf "_partials/views/%s-end.html" (lower $.Params.view | default "compact")) }} {{ partial "functions/render_view" (dict "page" $ "item" . "view" (printf "%s-end" $.Params.view) "index" 0) }} {{ end }} diff --git a/modules/blox-bootstrap/layouts/section/post.html b/modules/blox-bootstrap/layouts/post/section.html similarity index 100% rename from modules/blox-bootstrap/layouts/section/post.html rename to modules/blox-bootstrap/layouts/post/section.html diff --git a/modules/blox-bootstrap/layouts/section/publication.html b/modules/blox-bootstrap/layouts/publication/section.html similarity index 100% rename from modules/blox-bootstrap/layouts/section/publication.html rename to modules/blox-bootstrap/layouts/publication/section.html diff --git a/modules/blox-bootstrap/layouts/_default/rss.xml b/modules/blox-bootstrap/layouts/rss.xml similarity index 100% rename from modules/blox-bootstrap/layouts/_default/rss.xml rename to modules/blox-bootstrap/layouts/rss.xml diff --git a/modules/blox-bootstrap/layouts/_default/single.html b/modules/blox-bootstrap/layouts/single.html similarity index 100% rename from modules/blox-bootstrap/layouts/_default/single.html rename to modules/blox-bootstrap/layouts/single.html diff --git a/modules/blox-core/layouts/partials/blox-core/functions/get_author_name.html b/modules/blox-core/layouts/_partials/blox-core/functions/get_author_name.html similarity index 100% rename from modules/blox-core/layouts/partials/blox-core/functions/get_author_name.html rename to modules/blox-core/layouts/_partials/blox-core/functions/get_author_name.html diff --git a/modules/blox-core/layouts/partials/blox-core/functions/get_featured_image.html b/modules/blox-core/layouts/_partials/blox-core/functions/get_featured_image.html similarity index 100% rename from modules/blox-core/layouts/partials/blox-core/functions/get_featured_image.html rename to modules/blox-core/layouts/_partials/blox-core/functions/get_featured_image.html diff --git a/modules/blox-core/layouts/partials/blox-core/functions/get_hook.html b/modules/blox-core/layouts/_partials/blox-core/functions/get_hook.html similarity index 100% rename from modules/blox-core/layouts/partials/blox-core/functions/get_hook.html rename to modules/blox-core/layouts/_partials/blox-core/functions/get_hook.html diff --git a/modules/blox-core/layouts/partials/blox-core/functions/get_icon.html b/modules/blox-core/layouts/_partials/blox-core/functions/get_icon.html similarity index 100% rename from modules/blox-core/layouts/partials/blox-core/functions/get_icon.html rename to modules/blox-core/layouts/_partials/blox-core/functions/get_icon.html diff --git a/modules/blox-core/layouts/partials/blox-core/functions/get_logo.html b/modules/blox-core/layouts/_partials/blox-core/functions/get_logo.html similarity index 100% rename from modules/blox-core/layouts/partials/blox-core/functions/get_logo.html rename to modules/blox-core/layouts/_partials/blox-core/functions/get_logo.html diff --git a/modules/blox-core/layouts/partials/blox-core/functions/get_logo_url.html b/modules/blox-core/layouts/_partials/blox-core/functions/get_logo_url.html similarity index 100% rename from modules/blox-core/layouts/partials/blox-core/functions/get_logo_url.html rename to modules/blox-core/layouts/_partials/blox-core/functions/get_logo_url.html diff --git a/modules/blox-core/layouts/partials/blox-core/functions/get_page_title.html b/modules/blox-core/layouts/_partials/blox-core/functions/get_page_title.html similarity index 100% rename from modules/blox-core/layouts/partials/blox-core/functions/get_page_title.html rename to modules/blox-core/layouts/_partials/blox-core/functions/get_page_title.html diff --git a/modules/blox-core/layouts/partials/blox-core/functions/get_sort_by_parameter.html b/modules/blox-core/layouts/_partials/blox-core/functions/get_sort_by_parameter.html similarity index 100% rename from modules/blox-core/layouts/partials/blox-core/functions/get_sort_by_parameter.html rename to modules/blox-core/layouts/_partials/blox-core/functions/get_sort_by_parameter.html diff --git a/modules/blox-core/layouts/shortcodes/dependencies.html b/modules/blox-core/layouts/_shortcodes/dependencies.html similarity index 100% rename from modules/blox-core/layouts/shortcodes/dependencies.html rename to modules/blox-core/layouts/_shortcodes/dependencies.html diff --git a/modules/blox-plugin-reveal/layouts/partials/slides.html b/modules/blox-plugin-reveal/layouts/_partials/slides.html similarity index 100% rename from modules/blox-plugin-reveal/layouts/partials/slides.html rename to modules/blox-plugin-reveal/layouts/_partials/slides.html diff --git a/modules/blox-plugin-reveal/layouts/shortcodes/fragment.html b/modules/blox-plugin-reveal/layouts/_shortcodes/fragment.html similarity index 100% rename from modules/blox-plugin-reveal/layouts/shortcodes/fragment.html rename to modules/blox-plugin-reveal/layouts/_shortcodes/fragment.html diff --git a/modules/blox-plugin-reveal/layouts/shortcodes/slide.html b/modules/blox-plugin-reveal/layouts/_shortcodes/slide.html similarity index 100% rename from modules/blox-plugin-reveal/layouts/shortcodes/slide.html rename to modules/blox-plugin-reveal/layouts/_shortcodes/slide.html diff --git a/modules/blox-plugin-reveal/layouts/shortcodes/speaker_note.html b/modules/blox-plugin-reveal/layouts/_shortcodes/speaker_note.html similarity index 100% rename from modules/blox-plugin-reveal/layouts/shortcodes/speaker_note.html rename to modules/blox-plugin-reveal/layouts/_shortcodes/speaker_note.html diff --git a/modules/blox-seo/layouts/_default/_markup/sitemap.xml b/modules/blox-seo/layouts/_markup/sitemap.xml similarity index 100% rename from modules/blox-seo/layouts/_default/_markup/sitemap.xml rename to modules/blox-seo/layouts/_markup/sitemap.xml diff --git a/modules/blox-seo/layouts/partials/analytics/baidu_tongji.html b/modules/blox-seo/layouts/_partials/analytics/baidu_tongji.html similarity index 100% rename from modules/blox-seo/layouts/partials/analytics/baidu_tongji.html rename to modules/blox-seo/layouts/_partials/analytics/baidu_tongji.html diff --git a/modules/blox-seo/layouts/partials/analytics/google_analytics.html b/modules/blox-seo/layouts/_partials/analytics/google_analytics.html similarity index 100% rename from modules/blox-seo/layouts/partials/analytics/google_analytics.html rename to modules/blox-seo/layouts/_partials/analytics/google_analytics.html diff --git a/modules/blox-seo/layouts/partials/analytics/google_tag_manager.html b/modules/blox-seo/layouts/_partials/analytics/google_tag_manager.html similarity index 100% rename from modules/blox-seo/layouts/partials/analytics/google_tag_manager.html rename to modules/blox-seo/layouts/_partials/analytics/google_tag_manager.html diff --git a/modules/blox-seo/layouts/partials/analytics/main.html b/modules/blox-seo/layouts/_partials/analytics/main.html similarity index 100% rename from modules/blox-seo/layouts/partials/analytics/main.html rename to modules/blox-seo/layouts/_partials/analytics/main.html diff --git a/modules/blox-seo/layouts/partials/analytics/microsoft_clarity.html b/modules/blox-seo/layouts/_partials/analytics/microsoft_clarity.html similarity index 100% rename from modules/blox-seo/layouts/partials/analytics/microsoft_clarity.html rename to modules/blox-seo/layouts/_partials/analytics/microsoft_clarity.html diff --git a/modules/blox-seo/layouts/partials/blox_seo.html b/modules/blox-seo/layouts/_partials/blox_seo.html similarity index 100% rename from modules/blox-seo/layouts/partials/blox_seo.html rename to modules/blox-seo/layouts/_partials/blox_seo.html diff --git a/modules/blox-seo/layouts/partials/jsonld/article.html b/modules/blox-seo/layouts/_partials/jsonld/article.html similarity index 100% rename from modules/blox-seo/layouts/partials/jsonld/article.html rename to modules/blox-seo/layouts/_partials/jsonld/article.html diff --git a/modules/blox-seo/layouts/partials/jsonld/business.html b/modules/blox-seo/layouts/_partials/jsonld/business.html similarity index 100% rename from modules/blox-seo/layouts/partials/jsonld/business.html rename to modules/blox-seo/layouts/_partials/jsonld/business.html diff --git a/modules/blox-seo/layouts/partials/jsonld/event.html b/modules/blox-seo/layouts/_partials/jsonld/event.html similarity index 100% rename from modules/blox-seo/layouts/partials/jsonld/event.html rename to modules/blox-seo/layouts/_partials/jsonld/event.html diff --git a/modules/blox-seo/layouts/partials/jsonld/main.html b/modules/blox-seo/layouts/_partials/jsonld/main.html similarity index 100% rename from modules/blox-seo/layouts/partials/jsonld/main.html rename to modules/blox-seo/layouts/_partials/jsonld/main.html diff --git a/modules/blox-seo/layouts/partials/jsonld/website.html b/modules/blox-seo/layouts/_partials/jsonld/website.html similarity index 100% rename from modules/blox-seo/layouts/partials/jsonld/website.html rename to modules/blox-seo/layouts/_partials/jsonld/website.html diff --git a/modules/blox-seo/layouts/partials/seo_tags.html b/modules/blox-seo/layouts/_partials/seo_tags.html similarity index 100% rename from modules/blox-seo/layouts/partials/seo_tags.html rename to modules/blox-seo/layouts/_partials/seo_tags.html diff --git a/modules/blox-seo/layouts/partials/site_verification.html b/modules/blox-seo/layouts/_partials/site_verification.html similarity index 100% rename from modules/blox-seo/layouts/partials/site_verification.html rename to modules/blox-seo/layouts/_partials/site_verification.html diff --git a/modules/blox-tailwind/layouts/_default/_markup/render-codeblock-markmap.html b/modules/blox-tailwind/layouts/_markup/render-codeblock-markmap.html similarity index 100% rename from modules/blox-tailwind/layouts/_default/_markup/render-codeblock-markmap.html rename to modules/blox-tailwind/layouts/_markup/render-codeblock-markmap.html diff --git a/modules/blox-tailwind/layouts/_default/_markup/render-codeblock-mermaid.html b/modules/blox-tailwind/layouts/_markup/render-codeblock-mermaid.html similarity index 100% rename from modules/blox-tailwind/layouts/_default/_markup/render-codeblock-mermaid.html rename to modules/blox-tailwind/layouts/_markup/render-codeblock-mermaid.html diff --git a/modules/blox-tailwind/layouts/_default/_markup/render-image.html b/modules/blox-tailwind/layouts/_markup/render-image.html similarity index 100% rename from modules/blox-tailwind/layouts/_default/_markup/render-image.html rename to modules/blox-tailwind/layouts/_markup/render-image.html diff --git a/modules/blox-tailwind/layouts/_default/_markup/render-link.backlinks.json b/modules/blox-tailwind/layouts/_markup/render-link.backlinks.json similarity index 100% rename from modules/blox-tailwind/layouts/_default/_markup/render-link.backlinks.json rename to modules/blox-tailwind/layouts/_markup/render-link.backlinks.json diff --git a/modules/blox-tailwind/layouts/_default/_markup/render-link.html b/modules/blox-tailwind/layouts/_markup/render-link.html similarity index 100% rename from modules/blox-tailwind/layouts/_default/_markup/render-link.html rename to modules/blox-tailwind/layouts/_markup/render-link.html diff --git a/modules/blox-tailwind/layouts/partials/blox/collection.html b/modules/blox-tailwind/layouts/_partials/blox/collection.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/collection.html rename to modules/blox-tailwind/layouts/_partials/blox/collection.html diff --git a/modules/blox-tailwind/layouts/partials/blox/cta-button-list.html b/modules/blox-tailwind/layouts/_partials/blox/cta-button-list.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/cta-button-list.html rename to modules/blox-tailwind/layouts/_partials/blox/cta-button-list.html diff --git a/modules/blox-tailwind/layouts/partials/blox/cta-card.html b/modules/blox-tailwind/layouts/_partials/blox/cta-card.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/cta-card.html rename to modules/blox-tailwind/layouts/_partials/blox/cta-card.html diff --git a/modules/blox-tailwind/layouts/partials/blox/cta-image-paragraph.html b/modules/blox-tailwind/layouts/_partials/blox/cta-image-paragraph.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/cta-image-paragraph.html rename to modules/blox-tailwind/layouts/_partials/blox/cta-image-paragraph.html diff --git a/modules/blox-tailwind/layouts/partials/blox/features.html b/modules/blox-tailwind/layouts/_partials/blox/features.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/features.html rename to modules/blox-tailwind/layouts/_partials/blox/features.html diff --git a/modules/blox-tailwind/layouts/partials/blox/hero.html b/modules/blox-tailwind/layouts/_partials/blox/hero.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/hero.html rename to modules/blox-tailwind/layouts/_partials/blox/hero.html diff --git a/modules/blox-tailwind/layouts/partials/blox/markdown.html b/modules/blox-tailwind/layouts/_partials/blox/markdown.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/markdown.html rename to modules/blox-tailwind/layouts/_partials/blox/markdown.html diff --git a/modules/blox-tailwind/layouts/partials/blox/resume-awards.html b/modules/blox-tailwind/layouts/_partials/blox/resume-awards.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/resume-awards.html rename to modules/blox-tailwind/layouts/_partials/blox/resume-awards.html diff --git a/modules/blox-tailwind/layouts/partials/blox/resume-biography-3.html b/modules/blox-tailwind/layouts/_partials/blox/resume-biography-3.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/resume-biography-3.html rename to modules/blox-tailwind/layouts/_partials/blox/resume-biography-3.html diff --git a/modules/blox-tailwind/layouts/partials/blox/resume-biography.html b/modules/blox-tailwind/layouts/_partials/blox/resume-biography.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/resume-biography.html rename to modules/blox-tailwind/layouts/_partials/blox/resume-biography.html diff --git a/modules/blox-tailwind/layouts/partials/blox/resume-experience.html b/modules/blox-tailwind/layouts/_partials/blox/resume-experience.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/resume-experience.html rename to modules/blox-tailwind/layouts/_partials/blox/resume-experience.html diff --git a/modules/blox-tailwind/layouts/partials/blox/resume-languages.html b/modules/blox-tailwind/layouts/_partials/blox/resume-languages.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/resume-languages.html rename to modules/blox-tailwind/layouts/_partials/blox/resume-languages.html diff --git a/modules/blox-tailwind/layouts/partials/blox/resume-skills.html b/modules/blox-tailwind/layouts/_partials/blox/resume-skills.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/resume-skills.html rename to modules/blox-tailwind/layouts/_partials/blox/resume-skills.html diff --git a/modules/blox-tailwind/layouts/partials/blox/stats.html b/modules/blox-tailwind/layouts/_partials/blox/stats.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/stats.html rename to modules/blox-tailwind/layouts/_partials/blox/stats.html diff --git a/modules/blox-tailwind/layouts/partials/blox/testimonials.html b/modules/blox-tailwind/layouts/_partials/blox/testimonials.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/blox/testimonials.html rename to modules/blox-tailwind/layouts/_partials/blox/testimonials.html diff --git a/modules/blox-bootstrap/layouts/partials/comments.html b/modules/blox-tailwind/layouts/_partials/comments.html similarity index 86% rename from modules/blox-bootstrap/layouts/partials/comments.html rename to modules/blox-tailwind/layouts/_partials/comments.html index 6118c163..f9432919 100644 --- a/modules/blox-bootstrap/layouts/partials/comments.html +++ b/modules/blox-tailwind/layouts/_partials/comments.html @@ -1,7 +1,7 @@ {{ $provider := trim (site.Params.features.comment.provider | lower) " " }} {{ if $provider }} - {{ $provider_tpl := printf "partials/comments/%s.html" $provider }} + {{ $provider_tpl := printf "_partials/comments/%s.html" $provider }} {{ $provider_exists := templates.Exists $provider_tpl }} {{ if not $provider_exists }} {{ errorf "The '%s' comment provider was not found." $provider }} diff --git a/modules/blox-tailwind/layouts/partials/comments/commento.html b/modules/blox-tailwind/layouts/_partials/comments/commento.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/comments/commento.html rename to modules/blox-tailwind/layouts/_partials/comments/commento.html diff --git a/modules/blox-tailwind/layouts/partials/comments/disqus.html b/modules/blox-tailwind/layouts/_partials/comments/disqus.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/comments/disqus.html rename to modules/blox-tailwind/layouts/_partials/comments/disqus.html diff --git a/modules/blox-tailwind/layouts/partials/comments/giscus.html b/modules/blox-tailwind/layouts/_partials/comments/giscus.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/comments/giscus.html rename to modules/blox-tailwind/layouts/_partials/comments/giscus.html diff --git a/modules/blox-tailwind/layouts/partials/components/backlinks.html b/modules/blox-tailwind/layouts/_partials/components/backlinks.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/backlinks.html rename to modules/blox-tailwind/layouts/_partials/components/backlinks.html diff --git a/modules/blox-tailwind/layouts/partials/components/breadcrumb.html b/modules/blox-tailwind/layouts/_partials/components/breadcrumb.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/breadcrumb.html rename to modules/blox-tailwind/layouts/_partials/components/breadcrumb.html diff --git a/modules/blox-tailwind/layouts/partials/components/feedback.html b/modules/blox-tailwind/layouts/_partials/components/feedback.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/feedback.html rename to modules/blox-tailwind/layouts/_partials/components/feedback.html diff --git a/modules/blox-tailwind/layouts/partials/components/footers/minimal.html b/modules/blox-tailwind/layouts/_partials/components/footers/minimal.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/footers/minimal.html rename to modules/blox-tailwind/layouts/_partials/components/footers/minimal.html diff --git a/modules/blox-tailwind/layouts/partials/components/headers/floating-theme-toggler.html b/modules/blox-tailwind/layouts/_partials/components/headers/floating-theme-toggler.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/headers/floating-theme-toggler.html rename to modules/blox-tailwind/layouts/_partials/components/headers/floating-theme-toggler.html diff --git a/modules/blox-tailwind/layouts/partials/components/headers/navbar-simple.html b/modules/blox-tailwind/layouts/_partials/components/headers/navbar-simple.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/headers/navbar-simple.html rename to modules/blox-tailwind/layouts/_partials/components/headers/navbar-simple.html diff --git a/modules/blox-tailwind/layouts/partials/components/headers/navbar.html b/modules/blox-tailwind/layouts/_partials/components/headers/navbar.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/headers/navbar.html rename to modules/blox-tailwind/layouts/_partials/components/headers/navbar.html diff --git a/modules/blox-tailwind/layouts/partials/components/language-chooser.html b/modules/blox-tailwind/layouts/_partials/components/language-chooser.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/language-chooser.html rename to modules/blox-tailwind/layouts/_partials/components/language-chooser.html diff --git a/modules/blox-tailwind/layouts/partials/components/last-edited.html b/modules/blox-tailwind/layouts/_partials/components/last-edited.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/last-edited.html rename to modules/blox-tailwind/layouts/_partials/components/last-edited.html diff --git a/modules/blox-tailwind/layouts/partials/components/next-in-series.html b/modules/blox-tailwind/layouts/_partials/components/next-in-series.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/next-in-series.html rename to modules/blox-tailwind/layouts/_partials/components/next-in-series.html diff --git a/modules/blox-tailwind/layouts/partials/components/page_sharer.html b/modules/blox-tailwind/layouts/_partials/components/page_sharer.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/page_sharer.html rename to modules/blox-tailwind/layouts/_partials/components/page_sharer.html diff --git a/modules/blox-tailwind/layouts/partials/components/paginator.html b/modules/blox-tailwind/layouts/_partials/components/paginator.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/paginator.html rename to modules/blox-tailwind/layouts/_partials/components/paginator.html diff --git a/modules/blox-tailwind/layouts/partials/components/search-modal.html b/modules/blox-tailwind/layouts/_partials/components/search-modal.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/search-modal.html rename to modules/blox-tailwind/layouts/_partials/components/search-modal.html diff --git a/modules/blox-tailwind/layouts/partials/components/sidebar.html b/modules/blox-tailwind/layouts/_partials/components/sidebar.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/sidebar.html rename to modules/blox-tailwind/layouts/_partials/components/sidebar.html diff --git a/modules/blox-tailwind/layouts/partials/components/toc.html b/modules/blox-tailwind/layouts/_partials/components/toc.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/components/toc.html rename to modules/blox-tailwind/layouts/_partials/components/toc.html diff --git a/modules/blox-tailwind/layouts/partials/docs_layout.html b/modules/blox-tailwind/layouts/_partials/docs_layout.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/docs_layout.html rename to modules/blox-tailwind/layouts/_partials/docs_layout.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_address.html b/modules/blox-tailwind/layouts/_partials/functions/get_address.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_address.html rename to modules/blox-tailwind/layouts/_partials/functions/get_address.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_author_name.html b/modules/blox-tailwind/layouts/_partials/functions/get_author_name.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_author_name.html rename to modules/blox-tailwind/layouts/_partials/functions/get_author_name.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_event_dates.html b/modules/blox-tailwind/layouts/_partials/functions/get_event_dates.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_event_dates.html rename to modules/blox-tailwind/layouts/_partials/functions/get_event_dates.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_featured_image.html b/modules/blox-tailwind/layouts/_partials/functions/get_featured_image.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_featured_image.html rename to modules/blox-tailwind/layouts/_partials/functions/get_featured_image.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_hook.html b/modules/blox-tailwind/layouts/_partials/functions/get_hook.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_hook.html rename to modules/blox-tailwind/layouts/_partials/functions/get_hook.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_icon.html b/modules/blox-tailwind/layouts/_partials/functions/get_icon.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_icon.html rename to modules/blox-tailwind/layouts/_partials/functions/get_icon.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_logo.html b/modules/blox-tailwind/layouts/_partials/functions/get_logo.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_logo.html rename to modules/blox-tailwind/layouts/_partials/functions/get_logo.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_logo_url.html b/modules/blox-tailwind/layouts/_partials/functions/get_logo_url.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_logo_url.html rename to modules/blox-tailwind/layouts/_partials/functions/get_logo_url.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_page_title.html b/modules/blox-tailwind/layouts/_partials/functions/get_page_title.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_page_title.html rename to modules/blox-tailwind/layouts/_partials/functions/get_page_title.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_site_icon.html b/modules/blox-tailwind/layouts/_partials/functions/get_site_icon.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_site_icon.html rename to modules/blox-tailwind/layouts/_partials/functions/get_site_icon.html diff --git a/modules/blox-tailwind/layouts/partials/functions/get_sort_by_parameter.html b/modules/blox-tailwind/layouts/_partials/functions/get_sort_by_parameter.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/get_sort_by_parameter.html rename to modules/blox-tailwind/layouts/_partials/functions/get_sort_by_parameter.html diff --git a/modules/blox-tailwind/layouts/partials/functions/has_attachments.html b/modules/blox-tailwind/layouts/_partials/functions/has_attachments.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/functions/has_attachments.html rename to modules/blox-tailwind/layouts/_partials/functions/has_attachments.html diff --git a/modules/blox-tailwind/layouts/partials/functions/parse_block_v2.html b/modules/blox-tailwind/layouts/_partials/functions/parse_block_v2.html similarity index 97% rename from modules/blox-tailwind/layouts/partials/functions/parse_block_v2.html rename to modules/blox-tailwind/layouts/_partials/functions/parse_block_v2.html index fe48a31f..62356f4d 100644 --- a/modules/blox-tailwind/layouts/partials/functions/parse_block_v2.html +++ b/modules/blox-tailwind/layouts/_partials/functions/parse_block_v2.html @@ -10,9 +10,9 @@ {{ $block_type = cond (eq $block_type $r.old) $r.new $block_type }} {{ end }} {{ $block_path := printf "blox/%s.html" $block_type }} -{{ if not (templates.Exists (printf "partials/%s" $block_path)) }} +{{ if not (templates.Exists (printf "_partials/%s" $block_path)) }} {{ $block_path_community := printf "blox/community/%s.html" $block_type }} - {{ if not (templates.Exists (printf "partials/%s" $block_path_community)) }} + {{ if not (templates.Exists (printf "_partials/%s" $block_path_community)) }} {{ errorf "%s uses a `%s` blox but the `%s` blox was not found. Check the name of the blox and try again. For a custom or community blox, upload it first to `hugo-blox/blox/community/%s.html`. For an All Access blox, upload it first to `hugo-blox/blox/all-access/%s.html`" $page.File.Path $block_type $block_type $block_type $block_type }} {{ else }} {{ $block_path = $block_path_community }} @@ -126,7 +126,7 @@ {{/* Now loaded in `init.html` */}} {{/* {{ $widget_config_file := printf "blox/%s--CONFIG.html" $block_type }} - {{ if templates.Exists (printf "partials/%s" $widget_config_file) }} + {{ if templates.Exists (printf "_partials/%s" $widget_config_file) }} {{ $cfg := partial $widget_config_file $widget_args }} {{ with $cfg.use_container }}{{ $use_container = . }}{{ end }} {{ with $cfg.inject_section_heading }}{{ $use_cols = . }}{{ end }} diff --git a/modules/blox-tailwind/layouts/partials/functions/render_view.html b/modules/blox-tailwind/layouts/_partials/functions/render_view.html similarity index 91% rename from modules/blox-tailwind/layouts/partials/functions/render_view.html rename to modules/blox-tailwind/layouts/_partials/functions/render_view.html index 4b0cd5fa..6bb4d541 100644 --- a/modules/blox-tailwind/layouts/partials/functions/render_view.html +++ b/modules/blox-tailwind/layouts/_partials/functions/render_view.html @@ -8,7 +8,7 @@ {{ $index := .index }} {{ $html := "" }} -{{ if not (templates.Exists (printf "partials/views/%s.html" $view)) }} +{{ if not (templates.Exists (printf "_partials/views/%s.html" $view)) }} {{/* Fallback to card view */}} {{ warnf "Failed to locate view at `partials/views/%s.html`. Check you specified a supported `view` in `%s`" $view $page.File.Path }} {{ $view = "card" }} diff --git a/modules/blox-tailwind/layouts/partials/init.html b/modules/blox-tailwind/layouts/_partials/init.html similarity index 94% rename from modules/blox-tailwind/layouts/partials/init.html rename to modules/blox-tailwind/layouts/_partials/init.html index 9eb5e760..47432d65 100644 --- a/modules/blox-tailwind/layouts/partials/init.html +++ b/modules/blox-tailwind/layouts/_partials/init.html @@ -12,7 +12,7 @@ {{ $block_type = cond (eq $block_type $r.old) $r.new $block_type }} {{ end }} {{ $widget_config_file := printf "blox/%s--CONFIG.html" $block_type }} - {{ if templates.Exists (printf "partials/%s" $widget_config_file) }} + {{ if templates.Exists (printf "_partials/%s" $widget_config_file) }} {{/* warnf "Loading blox config at %s" $widget_config_file */}} {{ $hash_id := $block.id | default (printf "section-%s" (replace $block_type "." "-")) }} {{ $widget_args := dict "wcPage" $page "wcBlock" $block "wcIdentifier" $hash_id }} diff --git a/modules/blox-tailwind/layouts/partials/jsonld/article.html b/modules/blox-tailwind/layouts/_partials/jsonld/article.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/jsonld/article.html rename to modules/blox-tailwind/layouts/_partials/jsonld/article.html diff --git a/modules/blox-tailwind/layouts/partials/jsonld/business.html b/modules/blox-tailwind/layouts/_partials/jsonld/business.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/jsonld/business.html rename to modules/blox-tailwind/layouts/_partials/jsonld/business.html diff --git a/modules/blox-tailwind/layouts/partials/jsonld/event.html b/modules/blox-tailwind/layouts/_partials/jsonld/event.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/jsonld/event.html rename to modules/blox-tailwind/layouts/_partials/jsonld/event.html diff --git a/modules/blox-tailwind/layouts/partials/jsonld/main.html b/modules/blox-tailwind/layouts/_partials/jsonld/main.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/jsonld/main.html rename to modules/blox-tailwind/layouts/_partials/jsonld/main.html diff --git a/modules/blox-tailwind/layouts/partials/jsonld/website.html b/modules/blox-tailwind/layouts/_partials/jsonld/website.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/jsonld/website.html rename to modules/blox-tailwind/layouts/_partials/jsonld/website.html diff --git a/modules/blox-tailwind/layouts/partials/landing_page.html b/modules/blox-tailwind/layouts/_partials/landing_page.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/landing_page.html rename to modules/blox-tailwind/layouts/_partials/landing_page.html diff --git a/modules/blox-tailwind/layouts/partials/libraries.html b/modules/blox-tailwind/layouts/_partials/libraries.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/libraries.html rename to modules/blox-tailwind/layouts/_partials/libraries.html diff --git a/modules/blox-tailwind/layouts/partials/page_author.html b/modules/blox-tailwind/layouts/_partials/page_author.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/page_author.html rename to modules/blox-tailwind/layouts/_partials/page_author.html diff --git a/modules/blox-tailwind/layouts/partials/page_author_card.html b/modules/blox-tailwind/layouts/_partials/page_author_card.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/page_author_card.html rename to modules/blox-tailwind/layouts/_partials/page_author_card.html diff --git a/modules/blox-tailwind/layouts/partials/page_edit.html b/modules/blox-tailwind/layouts/_partials/page_edit.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/page_edit.html rename to modules/blox-tailwind/layouts/_partials/page_edit.html diff --git a/modules/blox-tailwind/layouts/partials/page_footer.html b/modules/blox-tailwind/layouts/_partials/page_footer.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/page_footer.html rename to modules/blox-tailwind/layouts/_partials/page_footer.html diff --git a/modules/blox-tailwind/layouts/partials/page_links.html b/modules/blox-tailwind/layouts/_partials/page_links.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/page_links.html rename to modules/blox-tailwind/layouts/_partials/page_links.html diff --git a/modules/blox-tailwind/layouts/partials/page_links_div.html b/modules/blox-tailwind/layouts/_partials/page_links_div.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/page_links_div.html rename to modules/blox-tailwind/layouts/_partials/page_links_div.html diff --git a/modules/blox-tailwind/layouts/partials/page_metadata_authors.html b/modules/blox-tailwind/layouts/_partials/page_metadata_authors.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/page_metadata_authors.html rename to modules/blox-tailwind/layouts/_partials/page_metadata_authors.html diff --git a/modules/blox-tailwind/layouts/partials/page_related.html b/modules/blox-tailwind/layouts/_partials/page_related.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/page_related.html rename to modules/blox-tailwind/layouts/_partials/page_related.html diff --git a/modules/blox-tailwind/layouts/partials/site_footer.html b/modules/blox-tailwind/layouts/_partials/site_footer.html similarity index 93% rename from modules/blox-tailwind/layouts/partials/site_footer.html rename to modules/blox-tailwind/layouts/_partials/site_footer.html index c86e19d3..f6476781 100644 --- a/modules/blox-tailwind/layouts/partials/site_footer.html +++ b/modules/blox-tailwind/layouts/_partials/site_footer.html @@ -5,8 +5,8 @@ {{/* Load footer block */}} {{ $footer_section_name := site.Params.footer.blox | default "minimal" }} {{ $footer_section_path := printf "components/footers/%s.html" $footer_section_name }} - {{ if not (templates.Exists (printf "partials/%s" $footer_section_path)) }} - {{ errorf "Check your `params.yaml`. Cannot find footer block at `layouts/partials/%s`" $footer_section_path }} + {{ if not (templates.Exists (printf "_partials/%s" $footer_section_path)) }} + {{ errorf "Check your `params.yaml`. Cannot find footer block at `layouts/_partials/%s`" $footer_section_path }} {{ end }} {{ partial $footer_section_path . }} diff --git a/modules/blox-tailwind/layouts/partials/site_footer_license.html b/modules/blox-tailwind/layouts/_partials/site_footer_license.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/site_footer_license.html rename to modules/blox-tailwind/layouts/_partials/site_footer_license.html diff --git a/modules/blox-tailwind/layouts/partials/site_head.html b/modules/blox-tailwind/layouts/_partials/site_head.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/site_head.html rename to modules/blox-tailwind/layouts/_partials/site_head.html diff --git a/modules/blox-tailwind/layouts/partials/social_links.html b/modules/blox-tailwind/layouts/_partials/social_links.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/social_links.html rename to modules/blox-tailwind/layouts/_partials/social_links.html diff --git a/modules/blox-tailwind/layouts/partials/tags.html b/modules/blox-tailwind/layouts/_partials/tags.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/tags.html rename to modules/blox-tailwind/layouts/_partials/tags.html diff --git a/modules/blox-tailwind/layouts/partials/views/article-grid--end.html b/modules/blox-tailwind/layouts/_partials/views/article-grid--end.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/article-grid--end.html rename to modules/blox-tailwind/layouts/_partials/views/article-grid--end.html diff --git a/modules/blox-tailwind/layouts/partials/views/article-grid--start.html b/modules/blox-tailwind/layouts/_partials/views/article-grid--start.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/article-grid--start.html rename to modules/blox-tailwind/layouts/_partials/views/article-grid--start.html diff --git a/modules/blox-tailwind/layouts/partials/views/article-grid.html b/modules/blox-tailwind/layouts/_partials/views/article-grid.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/article-grid.html rename to modules/blox-tailwind/layouts/_partials/views/article-grid.html diff --git a/modules/blox-tailwind/layouts/partials/views/card--end.html b/modules/blox-tailwind/layouts/_partials/views/card--end.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/card--end.html rename to modules/blox-tailwind/layouts/_partials/views/card--end.html diff --git a/modules/blox-tailwind/layouts/partials/views/card--start.html b/modules/blox-tailwind/layouts/_partials/views/card--start.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/card--start.html rename to modules/blox-tailwind/layouts/_partials/views/card--start.html diff --git a/modules/blox-tailwind/layouts/partials/views/card.html b/modules/blox-tailwind/layouts/_partials/views/card.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/card.html rename to modules/blox-tailwind/layouts/_partials/views/card.html diff --git a/modules/blox-tailwind/layouts/partials/views/citation--end.html b/modules/blox-tailwind/layouts/_partials/views/citation--end.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/citation--end.html rename to modules/blox-tailwind/layouts/_partials/views/citation--end.html diff --git a/modules/blox-tailwind/layouts/partials/views/citation--start.html b/modules/blox-tailwind/layouts/_partials/views/citation--start.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/citation--start.html rename to modules/blox-tailwind/layouts/_partials/views/citation--start.html diff --git a/modules/blox-tailwind/layouts/partials/views/citation.html b/modules/blox-tailwind/layouts/_partials/views/citation.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/citation.html rename to modules/blox-tailwind/layouts/_partials/views/citation.html diff --git a/modules/blox-tailwind/layouts/partials/views/date-title-summary--end.html b/modules/blox-tailwind/layouts/_partials/views/date-title-summary--end.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/date-title-summary--end.html rename to modules/blox-tailwind/layouts/_partials/views/date-title-summary--end.html diff --git a/modules/blox-tailwind/layouts/partials/views/date-title-summary--start.html b/modules/blox-tailwind/layouts/_partials/views/date-title-summary--start.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/date-title-summary--start.html rename to modules/blox-tailwind/layouts/_partials/views/date-title-summary--start.html diff --git a/modules/blox-tailwind/layouts/partials/views/date-title-summary.html b/modules/blox-tailwind/layouts/_partials/views/date-title-summary.html similarity index 100% rename from modules/blox-tailwind/layouts/partials/views/date-title-summary.html rename to modules/blox-tailwind/layouts/_partials/views/date-title-summary.html diff --git a/modules/blox-tailwind/layouts/shortcodes/audio.html b/modules/blox-tailwind/layouts/_shortcodes/audio.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/audio.html rename to modules/blox-tailwind/layouts/_shortcodes/audio.html diff --git a/modules/blox-tailwind/layouts/shortcodes/bilibili.html b/modules/blox-tailwind/layouts/_shortcodes/bilibili.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/bilibili.html rename to modules/blox-tailwind/layouts/_shortcodes/bilibili.html diff --git a/modules/blox-tailwind/layouts/shortcodes/callout.html b/modules/blox-tailwind/layouts/_shortcodes/callout.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/callout.html rename to modules/blox-tailwind/layouts/_shortcodes/callout.html diff --git a/modules/blox-tailwind/layouts/shortcodes/card.html b/modules/blox-tailwind/layouts/_shortcodes/card.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/card.html rename to modules/blox-tailwind/layouts/_shortcodes/card.html diff --git a/modules/blox-tailwind/layouts/shortcodes/cards.html b/modules/blox-tailwind/layouts/_shortcodes/cards.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/cards.html rename to modules/blox-tailwind/layouts/_shortcodes/cards.html diff --git a/modules/blox-tailwind/layouts/shortcodes/chart.html b/modules/blox-tailwind/layouts/_shortcodes/chart.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/chart.html rename to modules/blox-tailwind/layouts/_shortcodes/chart.html diff --git a/modules/blox-tailwind/layouts/shortcodes/icon.html b/modules/blox-tailwind/layouts/_shortcodes/icon.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/icon.html rename to modules/blox-tailwind/layouts/_shortcodes/icon.html diff --git a/modules/blox-tailwind/layouts/shortcodes/include.html b/modules/blox-tailwind/layouts/_shortcodes/include.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/include.html rename to modules/blox-tailwind/layouts/_shortcodes/include.html diff --git a/modules/blox-tailwind/layouts/shortcodes/math.html b/modules/blox-tailwind/layouts/_shortcodes/math.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/math.html rename to modules/blox-tailwind/layouts/_shortcodes/math.html diff --git a/modules/blox-tailwind/layouts/shortcodes/mention.html b/modules/blox-tailwind/layouts/_shortcodes/mention.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/mention.html rename to modules/blox-tailwind/layouts/_shortcodes/mention.html diff --git a/modules/blox-tailwind/layouts/shortcodes/spoiler.html b/modules/blox-tailwind/layouts/_shortcodes/spoiler.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/spoiler.html rename to modules/blox-tailwind/layouts/_shortcodes/spoiler.html diff --git a/modules/blox-tailwind/layouts/shortcodes/steps.html b/modules/blox-tailwind/layouts/_shortcodes/steps.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/steps.html rename to modules/blox-tailwind/layouts/_shortcodes/steps.html diff --git a/modules/blox-tailwind/layouts/shortcodes/table.html b/modules/blox-tailwind/layouts/_shortcodes/table.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/table.html rename to modules/blox-tailwind/layouts/_shortcodes/table.html diff --git a/modules/blox-tailwind/layouts/shortcodes/toc.html b/modules/blox-tailwind/layouts/_shortcodes/toc.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/toc.html rename to modules/blox-tailwind/layouts/_shortcodes/toc.html diff --git a/modules/blox-tailwind/layouts/shortcodes/video.html b/modules/blox-tailwind/layouts/_shortcodes/video.html similarity index 100% rename from modules/blox-tailwind/layouts/shortcodes/video.html rename to modules/blox-tailwind/layouts/_shortcodes/video.html diff --git a/modules/blox-tailwind/layouts/_default/baseof.html b/modules/blox-tailwind/layouts/baseof.html similarity index 90% rename from modules/blox-tailwind/layouts/_default/baseof.html rename to modules/blox-tailwind/layouts/baseof.html index 1c632d3c..1b8e13bf 100644 --- a/modules/blox-tailwind/layouts/_default/baseof.html +++ b/modules/blox-tailwind/layouts/baseof.html @@ -13,8 +13,8 @@ {{ if $show_navbar }} {{ $block_name := .Params.header.navbar.blox | default site.Params.header.navbar.blox | default "navbar" }} {{ $block_path := printf "components/headers/%s.html" $block_name }} - {{ if not (templates.Exists (printf "partials/%s" $block_path)) }} - {{ errorf "Check your `header` config in `params.yaml` and/or front matter. Cannot find header block at `layouts/partials/%s`" $block_path }} + {{ if not (templates.Exists (printf "_partials/%s" $block_path)) }} + {{ errorf "Check your `header` config in `params.yaml` and/or front matter. Cannot find header block at `layouts/_partials/%s`" $block_path }} {{ else }} {{ partial $block_path . }} {{ end }} diff --git a/modules/blox-tailwind/layouts/_default/home.backlinks.json b/modules/blox-tailwind/layouts/home.backlinks.json similarity index 100% rename from modules/blox-tailwind/layouts/_default/home.backlinks.json rename to modules/blox-tailwind/layouts/home.backlinks.json diff --git a/modules/blox-tailwind/layouts/index.html b/modules/blox-tailwind/layouts/home.html similarity index 100% rename from modules/blox-tailwind/layouts/index.html rename to modules/blox-tailwind/layouts/home.html diff --git a/modules/blox-tailwind/layouts/_default/list.html b/modules/blox-tailwind/layouts/list.html similarity index 100% rename from modules/blox-tailwind/layouts/_default/list.html rename to modules/blox-tailwind/layouts/list.html diff --git a/modules/blox-tailwind/layouts/_default/rss.xml b/modules/blox-tailwind/layouts/rss.xml similarity index 100% rename from modules/blox-tailwind/layouts/_default/rss.xml rename to modules/blox-tailwind/layouts/rss.xml diff --git a/modules/blox-tailwind/layouts/_default/single.html b/modules/blox-tailwind/layouts/single.html similarity index 100% rename from modules/blox-tailwind/layouts/_default/single.html rename to modules/blox-tailwind/layouts/single.html diff --git a/modules/blox-tailwind/layouts/_default/sitemap.xml b/modules/blox-tailwind/layouts/sitemap.xml similarity index 100% rename from modules/blox-tailwind/layouts/_default/sitemap.xml rename to modules/blox-tailwind/layouts/sitemap.xml diff --git a/modules/blox-tailwind/layouts/_default/terms.html b/modules/blox-tailwind/layouts/terms.html similarity index 100% rename from modules/blox-tailwind/layouts/_default/terms.html rename to modules/blox-tailwind/layouts/terms.html diff --git a/starters/academic-cv/config/_default/module.yaml b/starters/academic-cv/config/_default/module.yaml index ac2a62aa..8124ccff 100644 --- a/starters/academic-cv/config/_default/module.yaml +++ b/starters/academic-cv/config/_default/module.yaml @@ -11,10 +11,10 @@ imports: # Install any Hugo Blox within the `hugo-blox/blox/` folder mounts: - source: hugo-blox/blox/community - target: layouts/partials/blox/community/ + target: layouts/_partials/blox/community/ includeFiles: '**.html' - source: hugo-blox/blox/all-access - target: layouts/partials/blox/ + target: layouts/_partials/blox/ includeFiles: '**.html' - source: hugo-blox/blox target: assets/dist/community/blox/ diff --git a/starters/blog/config/_default/module.yaml b/starters/blog/config/_default/module.yaml index ac2a62aa..8124ccff 100644 --- a/starters/blog/config/_default/module.yaml +++ b/starters/blog/config/_default/module.yaml @@ -11,10 +11,10 @@ imports: # Install any Hugo Blox within the `hugo-blox/blox/` folder mounts: - source: hugo-blox/blox/community - target: layouts/partials/blox/community/ + target: layouts/_partials/blox/community/ includeFiles: '**.html' - source: hugo-blox/blox/all-access - target: layouts/partials/blox/ + target: layouts/_partials/blox/ includeFiles: '**.html' - source: hugo-blox/blox target: assets/dist/community/blox/ diff --git a/starters/documentation/config/_default/module.yaml b/starters/documentation/config/_default/module.yaml index ac2a62aa..8124ccff 100644 --- a/starters/documentation/config/_default/module.yaml +++ b/starters/documentation/config/_default/module.yaml @@ -11,10 +11,10 @@ imports: # Install any Hugo Blox within the `hugo-blox/blox/` folder mounts: - source: hugo-blox/blox/community - target: layouts/partials/blox/community/ + target: layouts/_partials/blox/community/ includeFiles: '**.html' - source: hugo-blox/blox/all-access - target: layouts/partials/blox/ + target: layouts/_partials/blox/ includeFiles: '**.html' - source: hugo-blox/blox target: assets/dist/community/blox/ diff --git a/starters/landing-page/config/_default/module.yaml b/starters/landing-page/config/_default/module.yaml index ac2a62aa..8124ccff 100644 --- a/starters/landing-page/config/_default/module.yaml +++ b/starters/landing-page/config/_default/module.yaml @@ -11,10 +11,10 @@ imports: # Install any Hugo Blox within the `hugo-blox/blox/` folder mounts: - source: hugo-blox/blox/community - target: layouts/partials/blox/community/ + target: layouts/_partials/blox/community/ includeFiles: '**.html' - source: hugo-blox/blox/all-access - target: layouts/partials/blox/ + target: layouts/_partials/blox/ includeFiles: '**.html' - source: hugo-blox/blox target: assets/dist/community/blox/ diff --git a/starters/link-in-bio/config/_default/module.yaml b/starters/link-in-bio/config/_default/module.yaml index ac2a62aa..8124ccff 100644 --- a/starters/link-in-bio/config/_default/module.yaml +++ b/starters/link-in-bio/config/_default/module.yaml @@ -11,10 +11,10 @@ imports: # Install any Hugo Blox within the `hugo-blox/blox/` folder mounts: - source: hugo-blox/blox/community - target: layouts/partials/blox/community/ + target: layouts/_partials/blox/community/ includeFiles: '**.html' - source: hugo-blox/blox/all-access - target: layouts/partials/blox/ + target: layouts/_partials/blox/ includeFiles: '**.html' - source: hugo-blox/blox target: assets/dist/community/blox/ diff --git a/starters/resume/config/_default/module.yaml b/starters/resume/config/_default/module.yaml index ac2a62aa..8124ccff 100644 --- a/starters/resume/config/_default/module.yaml +++ b/starters/resume/config/_default/module.yaml @@ -11,10 +11,10 @@ imports: # Install any Hugo Blox within the `hugo-blox/blox/` folder mounts: - source: hugo-blox/blox/community - target: layouts/partials/blox/community/ + target: layouts/_partials/blox/community/ includeFiles: '**.html' - source: hugo-blox/blox/all-access - target: layouts/partials/blox/ + target: layouts/_partials/blox/ includeFiles: '**.html' - source: hugo-blox/blox target: assets/dist/community/blox/