mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-06 07:41:46 -04:00
🚸 Add breadcrumbs section name fallback
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user