summaryrefslogtreecommitdiffhomepage
path: root/docs/layouts/showcase/thumbnail.html
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-06-26 20:46:06 +0200
committerBjørn Erik Pedersen <[email protected]>2017-06-26 20:46:06 +0200
commita7765bb3c117efa93866556d2b5b129dae7768bf (patch)
treed0df162c8d2801006863cb89c9640c89213644b2 /docs/layouts/showcase/thumbnail.html
parent31393f6024416ea1b2e61d1080dfd7104df36eda (diff)
parentdd78d5b23fe597f4461aa4199401b4e07c0612e2 (diff)
downloadhugo-a7765bb3c117efa93866556d2b5b129dae7768bf.tar.gz
hugo-a7765bb3c117efa93866556d2b5b129dae7768bf.zip
Merge commit 'dd78d5b23fe597f4461aa4199401b4e07c0612e2' as 'docs'
Diffstat (limited to 'docs/layouts/showcase/thumbnail.html')
-rw-r--r--docs/layouts/showcase/thumbnail.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/layouts/showcase/thumbnail.html b/docs/layouts/showcase/thumbnail.html
new file mode 100644
index 000000000..5c36e5d2f
--- /dev/null
+++ b/docs/layouts/showcase/thumbnail.html
@@ -0,0 +1,17 @@
+<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>