revuoxmrtheme/layouts/partials/nav_links.html

7 lines
232 B
HTML
Raw Permalink Normal View History

2024-07-02 22:03:13 +00:00
{{ with .Site.Params.nav_links }}
{{ range . }}
2024-07-03 22:02:11 +00:00
<!-- safeURL only works when the link is stored in a variable -->
{{ $link := .link }}
<a href="{{ $link | safeURL }}" title="{{ .title }}">{{ .title }}</a>
2024-07-02 22:03:13 +00:00
{{ end }}
{{ end }}