mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 02:15:09 +00:00
BREAKING CHANGE Module paths moved to `github.com/HugoBlox/kit` with new names: - core `blox-tailwind` → `blox` - analytics → `analytics` - netlify → `integrations/netlify` - slides (reveal) → `slides` Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
16 lines
430 B
HTML
16 lines
430 B
HTML
{{/* Show related/recommended content. */}}
|
|
{{ if .Params.show_related }}
|
|
{{ $related := site.RegularPages.Related . | first 5 }}
|
|
{{ with $related }}
|
|
<hr class="border-dotted border-neutral-300 dark:border-neutral-600">
|
|
<div class="text-sm">
|
|
<h3>{{ i18n "related" }}</h3>
|
|
<ul>
|
|
{{ range . }}
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|