From 82d74e30633aad869fb41afdf9e4aa9515dce629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 22 Nov 2017 18:39:10 +0100 Subject: [PATCH] Add Bootstrap styling to breadcrumb example --- content/content-management/sections.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/content/content-management/sections.md b/content/content-management/sections.md index 22e6bb517..def5cac87 100644 --- a/content/content-management/sections.md +++ b/content/content-management/sections.md @@ -48,26 +48,21 @@ With the available [section variables and methods](#section-page-variables-and-m {{< code file="layouts/partials/breadcrumb.html" download="breadcrumb.html" >}} - + {{ define "breadcrumbnav" }} {{ if .p1.Parent }} {{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} {{ else if not .p1.IsHome }} {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }} {{ end }} -
  • - {{ if eq .p1 .p2 }} - {{ .p1.Title }} - {{ else }} + {{ .p1.Title }} - {{ end }}
  • {{ end }} {{< /code >}} - ## Section Page Variables and Methods Also see [Page Variables](/variables/page/).