accessible.tips/themes/hugo-xmin/layouts/partials/categories_tags.html
KemoNine 12ac3f6993 major update for jump links: \
\
 - make toc/top phrase dynamic based on if toc is enabled for a page \
 - add a 'jump to content' link at top of page detail/header block \
 - add additional jump links to footer that are shown only if the relevant section of the page \
detail/header block is shown \
 - improve phrasing of jump links appearing inside main page content \
 - update changelog to not have a jump link just below its title \
 - update cms configs to match changed changelog formatting
2023-03-21 09:32:30 -04:00

19 lines
526 B
HTML

<a id="categories_tags" />
<a id="categories" />
<p class="terms">
{{ range $i := (slice "categories") }}
{{ with ($.Param $i) }}
{{ $i | title }}: {{ range $k := . }}<a href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }}
{{ end }}
{{ end }}
</p>
<a id="tags" />
<p class="terms">
{{ range $i := (slice "tags") }}
{{ with ($.Param $i) }}
{{ $i | title }}: {{ range $k := . }}<a href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }}
{{ end }}
{{ end }}
</p>