1
0
Эх сурвалжийг харах

feat(docs): Title case breadcrumbs

Michael Bromley 7 жил өмнө
parent
commit
d8df6f77e8

+ 1 - 1
docs/layouts/partials/breadcrumbs.html

@@ -34,7 +34,7 @@
     {{ if .currentPage.Parent }}
         {{ template "breadcrumb" dict "currentPage" .currentPage.Parent }}
     {{ end }}
-    {{ $title := cond (eq .currentPage.RelPermalink "/docs/" ) "Docs" .currentPage.Title }}
+    {{ $title := cond (eq .currentPage.RelPermalink "/docs/" ) "Docs" (title .currentPage.Title) }}
     {{ if (ne .currentPage.Parent .IsHome) }}
         <li>
             {{ if eq .id .currentPage.UniqueID }}