hugo/layouts/showcase/thumbnail.html
Bjørn Erik Pedersen dd78d5b23f Squashed 'docs/' content from commit 5d9a6703
git-subtree-dir: docs
git-subtree-split: 5d9a6703591c29283800d7b9e4c5c85981ed86d6
2017-06-26 20:46:06 +02:00

17 lines
731 B
HTML

<div class="col-sm-6 col-md-4" style="padding-bottom:1em;">
<div class="showcase-container">
<div class="dummy"></div>
<div class="thumbnail">
<a href="{{ .Params.sitelink }}"><img class="img-responsive img-rounded" style="width:100%;" src="{{ .Params.thumbnail }}" alt="{{ .Description }}"></a>
<h4>
<a href="{{ .Params.sitelink }}">{{ .Title | safeHTML }}</a>
{{ if (isset .Params "sourcelink") }}
<a href="{{ .Params.sourcelink }}" class="small pull-right">source</a>
{{ end }}
</h4>
{{ range .Params.tags }}
<span class="label label-default" style="font-size:60%;">{{ . }}</span>
{{ end }}
</div>
</div>
</div>