From 935d113c0e892f44d26051041528c1eaecf75740 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Mon, 23 Jan 2023 23:05:17 +0100 Subject: [PATCH] breadcrumb spacing --- layouts/partials/header/breadcrumbs.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/header/breadcrumbs.html b/layouts/partials/header/breadcrumbs.html index 21f94aa0..756de5f7 100644 --- a/layouts/partials/header/breadcrumbs.html +++ b/layouts/partials/header/breadcrumbs.html @@ -8,7 +8,7 @@ "p2" . "path" $path "position" $length - ) }} + ) -}} </ol> </nav> @@ -47,13 +47,13 @@ {{- end -}} {{- $title = chomp $title }} <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem" class="breadcrumb-item{{- if .active }} active{{ end }}"{{- if .active }} aria-current="page"{{ end }}> - {{ if not .active -}} + {{- if not .active -}} <a itemprop="item" href="{{ .page.Permalink }}"> - {{- end }} + {{- end -}} <span itemprop="name">{{- partial "PrepareHTML" $title -}}</span> - {{ if not .active -}} + {{- if not .active -}} </a> - {{- end }} + {{- end -}} <meta itemprop="position" content="{{- .position -}}"> </li> {{- end -}} -- GitLab