From 756be6f15cf2416d95a61e60e705fc2fafebda98 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 19 Mar 2023 21:59:53 -0700 Subject: [PATCH] Add breadcrumb.html --- i18n/de.yaml | 3 +++ i18n/en.yaml | 3 +++ layouts/partials/paige/breadcrumb.html | 11 +++++++++++ layouts/partials/paige/header.html | 2 ++ 4 files changed, 19 insertions(+) create mode 100644 layouts/partials/paige/breadcrumb.html diff --git a/i18n/de.yaml b/i18n/de.yaml index b968dfc1..ce55888b 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -1,3 +1,6 @@ +paige_breadcrumb: + other: Brotkrümel + paige_collections: other: Sammlungen diff --git a/i18n/en.yaml b/i18n/en.yaml index c990d854..c23f3307 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,3 +1,6 @@ +paige_breadcrumb: + other: Breadcrumb + paige_collections: other: Collections diff --git a/layouts/partials/paige/breadcrumb.html b/layouts/partials/paige/breadcrumb.html new file mode 100644 index 00000000..a0beff7f --- /dev/null +++ b/layouts/partials/paige/breadcrumb.html @@ -0,0 +1,11 @@ +{{ $page := . }} + +{{ with .Ancestors }} + +{{ end }} diff --git a/layouts/partials/paige/header.html b/layouts/partials/paige/header.html index e1857fc0..b40669bf 100644 --- a/layouts/partials/paige/header.html +++ b/layouts/partials/paige/header.html @@ -14,6 +14,8 @@ {{ partial "paige/menu.html" $page }} {{ end }} + {{ partial "paige/breadcrumb.html" . }} + {{ if $last }} {{ partial "paige/header-last.html" $page }} {{ end }}