{{ define "main" }}
{{ range where .Site.Sections ".Section" "software" }}
    {{ partial "carousel.html" .RegularPages }}
{{ end }}
<div id="home-deck" class="card-deck-wrapper center-block">
    <div class="card-deck">
        {{ range where .Site.Sections ".Section" "software" }}
            {{ range .Pages }}
                {{ partial "softcard" . }}
            {{ end }}
        {{ end }}
    </div>
</div>
{{ end }}
