bglug.it/layouts/partials/sidebar/simili.html
paspo bcf2f4256f sidebar su elenco eventi e linuxday (#103)
fixes #99
fixes #106

Reviewed-on: BgLUG/bglug.it#103
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-07-14 22:19:25 +00:00

27 lines
600 B
HTML

<section>
<h3>Guarda anche WIP</h3>
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<ul>
{{ range $i, $p := . }}
<li>
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{ with .HeadingsFiltered }}
<ul>
{{ range . }}
{{ $link := printf "%s#%s" $p.RelPermalink .ID | safeURL }}
<li>
<a href="{{ $link }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ end }}
</li>
{{ end }}
</ul>
{{ end }}
</section>