ref: 2e4158b0b47b7cd1bbcdfa5d8497f1d4e56f9cfd
parent: e50b9d8ac1c69aa16cf45b1e4ff95b22d535adb7
author: Zach Chadwick <[email protected]>
date: Thu Mar 27 05:57:47 EDT 2014
added appliance.cloudshark.org to showcase also cleaned up thumbnail view to not show source link if unavailable
--- /dev/null
+++ b/docs/content/showcase/cloudshark.md
@@ -1,0 +1,11 @@
++++
+title = "CloudShark"
+date = 2014-03-27T09:45:00Z
+description = "CloudShark Appliance homepage and documentation"
+license = ""
+licenseLink = ""
+sitelink = "https://appliance.cloudshark.org"
+thumbnail = "/static/img/cloudshark-tn.jpg"
+tags = ["company", "documentation", "foundation"]
++++
+
--- a/docs/layouts/showcase/thumbnail.html
+++ b/docs/layouts/showcase/thumbnail.html
@@ -1,7 +1,12 @@
<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>
- <a href="{{ .Params.sitelink }}"><h4>{{ .Title }}<a href="{{ .Params.sourcelink }}" class="small pull-right">source</a></h4></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 }}
binary files /dev/null b/docs/static/static/img/cloudshark-tn.jpg differ