hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 2e4158b0b47b7cd1bbcdfa5d8497f1d4e56f9cfd
parent e50b9d8ac1c69aa16cf45b1e4ff95b22d535adb7
Author: Zach Chadwick <zachad@qacafe.com>
Date:   Thu, 27 Mar 2014 09:57:47 -0400

added appliance.cloudshark.org to showcase
also cleaned up thumbnail view to not show source link if unavailable

Diffstat:
Adocs/content/showcase/cloudshark.md | 11+++++++++++
Mdocs/layouts/showcase/thumbnail.html | 7++++++-
Adocs/static/static/img/cloudshark-tn.jpg | 0
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/docs/content/showcase/cloudshark.md b/docs/content/showcase/cloudshark.md
@@ -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"]
++++
+
diff --git 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 }}
diff --git a/docs/static/static/img/cloudshark-tn.jpg b/docs/static/static/img/cloudshark-tn.jpg
Binary files differ.