From 8e77da509ac83aeb446d44d9dbe4ce78cccc5624 Mon Sep 17 00:00:00 2001 From: Wouter Groeneveld Date: Wed, 1 Mar 2017 13:38:51 +0100 Subject: [PATCH] breadcrumbs from https://discuss.gohugo.io/t/implementing-breadcrumb-navigation-in-hugo/1048/7 --- .../layouts/partials/breadcrumbs.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 themes/beautifulbaking/layouts/partials/breadcrumbs.html diff --git a/themes/beautifulbaking/layouts/partials/breadcrumbs.html b/themes/beautifulbaking/layouts/partials/breadcrumbs.html new file mode 100644 index 00000000..239cd82c --- /dev/null +++ b/themes/beautifulbaking/layouts/partials/breadcrumbs.html @@ -0,0 +1,12 @@ +{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} +{{ $.Scratch.Add "path" .Site.BaseURL }} + \ No newline at end of file