Commit 0c530c3 1 parent 170b1b6 commit 0c530c3 Copy full SHA for 0c530c3
File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,12 @@ <h1>{{ with .Data.Singular }}{{ . | humanize }}: {{ end }}<span>{{ .Title }}</sp
10
10
{{ $manualLink := cond (isset .Params "manuallink") .Params.manualLink ( cond (isset .Params "manuallinkrelref") (relref . .Params.manualLinkRelref) .RelPermalink) }}
11
11
< article class ="card article-teaser article-type-{{ with .Type }}{{ ( urlize . ) }}{{ end }} ">
12
12
< h3 > < a href ="{{ $manualLink }} "{{ with .Params.manualLinkTitle }} title ="{{ . }} "{{ end }}{{ with .Params.manualLinkTarget }} target ="{{ . }} "{{ if eq . "_blank" }} rel="noopener "{{ end }}{{ end }} > {{- .Title -}}</ a > </ h3 >
13
- {{ if not .Site.Params.ui.taxonomy_breadcrumb_disable }}
14
- {{- partial "breadcrumb.html" . -}}
15
- {{ end }}
13
+ {{ if not .Site.Params.ui.taxonomy_breadcrumb_disable -}}
14
+ {{/* Use breadcrumb partial, but remove attributes that are invalid or inappropriate in this page-summary context. */ -}}
15
+ {{ partial "breadcrumb.html" .
16
+ | replaceRE ` aria-\w+=\".*?\"|(breadcrumb-item) active|(btn-link) disabled` "$1" | safeHTML
17
+ -}}
18
+ {{ end -}}
16
19
< p > {{ .Description | markdownify }}</ p >
17
20
< header class ="article-meta ">
18
21
{{ partial "taxonomy_terms_article_wrapper.html" . }}
You can’t perform that action at this time.
0 commit comments