Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2015-09-08 18:23:14 +0300
committerspf13 <steve.francia@gmail.com>2015-09-08 18:23:14 +0300
commitbfa06fff86871c94aa032b4722f87855b069f67e (patch)
treef6cb01176a86778c3cb19f2d2c5a6ef0e0f8227f /docs/layouts
parent138ffefd6a6f9e4f64914c047b7ab523a8f72176 (diff)
showcase layout improved when thumbnails are different proportions
Diffstat (limited to 'docs/layouts')
-rw-r--r--docs/layouts/showcase/thumbnail.html28
1 files changed, 15 insertions, 13 deletions
diff --git a/docs/layouts/showcase/thumbnail.html b/docs/layouts/showcase/thumbnail.html
index 0b3e254dd..a0f7f8117 100644
--- a/docs/layouts/showcase/thumbnail.html
+++ b/docs/layouts/showcase/thumbnail.html
@@ -1,15 +1,17 @@
<div class="col-sm-6 col-md-4" style="padding-bottom:1em;">
- <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 }}</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 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 }}</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>
-