mirror of https://github.com/jpanther/congo.git
🚸 Add breadcrumbs section name fallback
parent
add3f764f7
commit
734fa6e827
|
@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||
- Upgrade to Tailwind v3.0.15
|
||||
- Inline Javascript moved to external files
|
||||
- Improved JSON-LD structured data
|
||||
- Breadcrumbs now fallback to section name when `title` is not provided
|
||||
- Minor style and layout improvements
|
||||
|
||||
## [1.6.4] - 2022-01-24
|
||||
|
|
|
@ -11,7 +11,11 @@
|
|||
<a
|
||||
class="hover:underline hover:decoration-neutral-300 dark:underline-neutral-600"
|
||||
href="{{ .p1.RelPermalink }}"
|
||||
>{{ .p1.Title }}</a
|
||||
>{{ if .p1.Title }}
|
||||
{{- .p1.Title -}}
|
||||
{{ else }}
|
||||
{{- .p1.Section -}}
|
||||
{{ end }}</a
|
||||
><span class="px-1 text-primary-500">/</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue