Hugo Dark Theme Site Generator https://after-dark.habd.as
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

terms.html 356B

12345678910111213141516
  1. {{ define "header" }}
  2. {{ partial "menu.html" . }}
  3. {{ end }}
  4. {{ define "main" }}
  5. <header>
  6. <h1>{{ .Title }}</h1>
  7. </header>
  8. <ul>
  9. {{ range $key, $value := .Data.Terms }}
  10. <li><a href="{{ $key | urlize }}">{{ $key }}</a> ({{ len $value }})
  11. {{ end }}
  12. </ul>
  13. {{ end }}
  14. {{ define "footer" }}
  15. {{ partial "powered-by.html" . }}
  16. {{ end }}