From 04d4f35f130303287ebc6e26a3a48e6904840595 Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Thu, 6 Jul 2023 12:36:12 +0600 Subject: [PATCH] update breadcrumb --- layouts/partials/components/breadcrumb.html | 22 +++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/layouts/partials/components/breadcrumb.html b/layouts/partials/components/breadcrumb.html index 8e34dca..44e6f80 100644 --- a/layouts/partials/components/breadcrumb.html +++ b/layouts/partials/components/breadcrumb.html @@ -12,16 +12,18 @@ {{ range $i, $e:= $context.Ancestors.Reverse }} -
  • - {{ if ne $i 0 }} - {{ end }} - - {{ .Title }} - - / -
  • + {{ if ne .Title "Pages" }} +
  • + {{ if ne $i 0 }} + {{ end }} + + {{ .Title }} + + / +
  • + {{ end }} {{ end }}