Ver código fonte

Support postfix HTML in addition to prefix HTML for navbar items

See https://gohugo.io/variables/menus/
George Cushen 7 anos atrás
pai
commit
87d24014c8
1 arquivos alterados com 1 adições e 0 exclusões
  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>