mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
18 hours ago e93a9046e7baccb9ceac0d58116f6ff17de7663d
fix: show categories on posts
1 files added
9 ■■■■■ changed files
layouts/_partials/categories.html 9 ●●●●● patch | view | raw | blame | history
layouts/_partials/categories.html
New file
@@ -0,0 +1,9 @@
<ul class="pa0">
  {{ range .GetTerms "categories" }}
   <li class="list di">
     <a href="{{ .RelPermalink }}" class="link f5 grow br-pill ba ph3 pv2 mb2 dib black sans-serif no-underline">
       {{- .LinkTitle -}}
     </a>
   </li>
  {{ end }}
</ul>