Explorar o código

Support postfix HTML in addition to prefix HTML for navbar items

See https://gohugo.io/variables/menus/
George Cushen %!s(int64=7) %!d(string=hai) anos
pai
achega
87d24014c8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      layouts/partials/navbar.html

+ 1 - 0
layouts/partials/navbar.html

@@ -56,6 +56,7 @@
           <a href="{{ .URL | relLangURL }}"{{ if $.IsHome }} data-target="{{ .URL }}"{{ end }}>
             {{ .Pre }}
             <span>{{ .Name }}</span>
+            {{ .Post }}
           </a>
         </li>