From 76ed46270714df2332787960ee7beccfe70474d3 Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Sun, 4 Jun 2023 13:29:21 +0600 Subject: [PATCH] update breadcrumb --- exampleSite/i18n/en.yaml | 7 +++++-- layouts/partials/components/breadcrumb.html | 19 ++++++++++++++----- layouts/partials/page-header.html | 2 +- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/exampleSite/i18n/en.yaml b/exampleSite/i18n/en.yaml index aaa30ca..83fa869 100755 --- a/exampleSite/i18n/en.yaml +++ b/exampleSite/i18n/en.yaml @@ -1,3 +1,6 @@ +- id: home + translation: Home + - id: read_more translation: Read More @@ -23,10 +26,10 @@ translation: Back To Home - id: search_input_placeholder - translation: Search Post .. + translation: Search Post ... - id: no_results_for translation: No results for - id: empty_search_results_placeholder - translation: Type something to search.. \ No newline at end of file + translation: Type something to search.. diff --git a/layouts/partials/components/breadcrumb.html b/layouts/partials/components/breadcrumb.html index 189505f..375c863 100644 --- a/layouts/partials/components/breadcrumb.html +++ b/layouts/partials/components/breadcrumb.html @@ -1,9 +1,18 @@ -{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} -{{ $lang := .Lang | urlize }} -{{ $.Scratch.Add "path" .Site.BaseURL }} -