{{ range .Params.cards }}
<div class="launch-card" style=" position: relative;width: 33%;padding: 0 30px 0 0;margin-bottom: 50px;min-height: 152px;">
    <h2 id="{{ replace .title " " "-" | lower }}">{{ .title }}</h2>
    <p>{{ .description }}</p>
    <ul>
    {{ $name := .name }}
    {{ range where ($.Site.Pages.ByParam "card.weight") ".Params.card" "!=" nil }}
        {{ if eq .Params.card.name $name }}
        {{ $p := . }}
        {{ if (isset .Params.card "anchors") }}
            {{ range .Params.card.anchors }}
            <li><a href="{{ $p.Permalink }}{{ .anchor }}">{{ .title }}</a></li>
            {{ end }}
        {{ else }}
            <li><a href={{ .Permalink }}>
            {{ if (isset .Params.card "title") }}{{ .Params.card.title }}{{ else }}{{ .LinkTitle }}{{ end }}
            </a></li>
        {{ end }}
        {{ end }}
    {{ end }}
    </ul>
    {{ if .button }}
      <br>
      <button id="btn-concepts" type="button" class="btn btn-primary" onClick="location.href='{{ .button_path | relLangURL }}';" aria-label="{{ .title }}">{{ .button }}</button>
      <br>
      <br>
    {{ end }}
</div>
{{ end }}
