revuoxmrtheme/layouts/partials/nav_links.html
2024-07-03 15:02:11 -07:00

7 lines
232 B
HTML

{{ with .Site.Params.nav_links }}
{{ range . }}
<!-- safeURL only works when the link is stored in a variable -->
{{ $link := .link }}
<a href="{{ $link | safeURL }}" title="{{ .title }}">{{ .title }}</a>
{{ end }}
{{ end }}