Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pjbakker/flexible-seo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul <paul@brainspark.nl>2020-03-03 13:52:43 +0300
committerPaul <paul@brainspark.nl>2020-03-03 13:52:43 +0300
commit8ebcc0099197e9bab47a7c7f997f486ba98b4cda (patch)
treec01449db6c62d239d8b3e317dc9181b51172743c
parent7bb5b34264c70ee20d3f55e5e8b8ef5b5a89bda3 (diff)
Don't add breadcrumbs header on Home page
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2353c21..c4f5b8c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -27,7 +27,7 @@
<!-- SEO -->
{{- partial "seo/main.html" . -}}
{{- $showBreadcrumbs := $.Params.showBreadcrumbs | default $.Site.Params.showBreadcrumbs | default true }}
-{{ if eq $showBreadcrumbs true -}}
+{{ if and ( eq $showBreadcrumbs true ) ( eq .IsHome false ) -}}
{{ partial "breadcrumbs.html" ( dict "ctx" . "output_type" "structured" ) }}
{{- end }}