Explorar el Código

feat(docs): Title case breadcrumbs

Michael Bromley hace 6 años
padre
commit
d8df6f77e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/layouts/partials/breadcrumbs.html

+ 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 }}