feat: Update breadcrumb with home translate
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3cfa780e5e
commit
a6c0e2e248
|
@ -19,6 +19,9 @@ other = "Modifiez cette page sur"
|
|||
[get_started]
|
||||
other = "Exemple de guide"
|
||||
|
||||
[home]
|
||||
other = "Accueil"
|
||||
|
||||
[last_updated]
|
||||
other = "Dernière mise à jour le"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ with .Parent -}}
|
||||
{{ partial "main/breadcrumb.html" . -}}
|
||||
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ if .IsHome }}Home{{ else if eq .CurrentSection .FirstSection }}{{ .Section | humanize }}{{ else }}{{ .Title }}{{ end }}</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ if .IsHome }}{{ i18n "home" }}{{ else if eq .CurrentSection .FirstSection }}{{ .Section | humanize }}{{ else }}{{ .Title }}{{ end }}</a></li>
|
||||
{{ end -}}
|
Loading…
Reference in New Issue