From c937b22f1e4ce6464cacf2597a5b0993a2aab2ca Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 14 Dec 2021 19:21:52 +0000 Subject: [PATCH] refactor: paths for components --- wowchemy/layouts/partials/book_layout.html | 2 +- wowchemy/layouts/partials/{ => components}/breadcrumb.html | 2 +- .../breadcrumb_child.html} | 2 +- .../partials/{share.html => components/page_sharer.html} | 0 wowchemy/layouts/partials/page_footer.html | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename wowchemy/layouts/partials/{ => components}/breadcrumb.html (82%) rename wowchemy/layouts/partials/{breadcrumb_helper.html => components/breadcrumb_child.html} (84%) rename wowchemy/layouts/partials/{share.html => components/page_sharer.html} (100%) diff --git a/wowchemy/layouts/partials/book_layout.html b/wowchemy/layouts/partials/book_layout.html index fa60c6fc..6a14c92e 100644 --- a/wowchemy/layouts/partials/book_layout.html +++ b/wowchemy/layouts/partials/book_layout.html @@ -31,7 +31,7 @@
{{ if $show_breadcrumb }} - {{ partial "breadcrumb" $current_page }} + {{ partial "components/breadcrumb" $current_page }} {{ end }}

{{ .Title }}

diff --git a/wowchemy/layouts/partials/breadcrumb.html b/wowchemy/layouts/partials/components/breadcrumb.html similarity index 82% rename from wowchemy/layouts/partials/breadcrumb.html rename to wowchemy/layouts/partials/components/breadcrumb.html index 2a8625e2..13fdcc30 100644 --- a/wowchemy/layouts/partials/breadcrumb.html +++ b/wowchemy/layouts/partials/components/breadcrumb.html @@ -1,7 +1,7 @@ {{ if not .IsHome }}