{{ $software := .File.BaseFileName }}
<div class="card">
    <a href="/software/{{ $software }}/"><img class="card-img-top center-block" src="/icons/{{ .Params.card_icon }}" alt="Card image cap"></a>
    <div class="card-block">
        <h4 class="card-title">{{ .Name }}</h4>
        <p class="card-text">{{ .Description }}</p>
        <p class="card-text"><small class="text-muted">{{ partial "latest-version" $software }} | <a href="{{ partial "latest-download-link" $software }}">download</a></small></p>
    </div>
</div>
