website/layouts/shortcodes/versions-other.html

10 lines
261 B
HTML

{{/* this shortcode is DEPRECATED */}}
{{ $versions := .Page.Param "versions" }}
{{ $thisVersion := .Page.Param "version" }}
<ul>
{{ range $versions }}
{{ if ne .version $thisVersion }}
<li><a href="{{ .url }}">{{ .version }}</a></li>
{{ end }}
{{ end }}
</ul>