added appliance.cloudshark.org to showcase
authorZach Chadwick <zachad@qacafe.com>
Thu, 27 Mar 2014 13:57:47 +0000 (09:57 -0400)
committerspf13 <steve.francia@gmail.com>
Mon, 31 Mar 2014 17:35:15 +0000 (13:35 -0400)
also cleaned up thumbnail view to not show source link if unavailable

docs/content/showcase/cloudshark.md [new file with mode: 0644]
docs/layouts/showcase/thumbnail.html
docs/static/static/img/cloudshark-tn.jpg [new file with mode: 0644]

diff --git a/docs/content/showcase/cloudshark.md b/docs/content/showcase/cloudshark.md
new file mode 100644 (file)
index 0000000..a8cf645
--- /dev/null
@@ -0,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"]
++++
+
index dd9664262b65058799ff1091a9105d19198f9aae..b1301367b0d90139030d8c8e3904a941f4840af6 100644 (file)
@@ -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 }}
diff --git a/docs/static/static/img/cloudshark-tn.jpg b/docs/static/static/img/cloudshark-tn.jpg
new file mode 100644 (file)
index 0000000..017fdc7
Binary files /dev/null and b/docs/static/static/img/cloudshark-tn.jpg differ