mirror of https://github.com/escalate/hugo-split-theme.git

Felix Boerner
16.29.2025 640455fa2c563b0270f51bb889aa7369845425d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="links w-row">
 
  {{ range $key, $value := .Site.Params.links }}
    {{ range $key, $list := $value }}
 
    {{ if $list.link }}
      <div class="column w-col w-col-4">
        <h3 class="text-block">{{ $list.heading }}</h3>
        <ul class="list w-list-unstyled">
          {{ range $list.link }}
            <li><a href="{{ .url | safeURL }}" target="{{ cond (.new_tab | default false) "_blank" "_self" }}">{{ .text }}</a></li>
          {{ end }}
        </ul>
      </div>
    {{ end }}
 
    {{ end }}
  {{ end }}
 
</div>