added appliance.cloudshark.org to showcase also cleaned up thumbnail view to not show source link if unavailable - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 2e4158b0b47b7cd1bbcdfa5d8497f1d4e56f9cfd
DIR parent e50b9d8ac1c69aa16cf45b1e4ff95b22d535adb7
HTML 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:
A docs/content/showcase/cloudshark.md | 11 +++++++++++
M docs/layouts/showcase/thumbnail.ht… | 7 ++++++-
A docs/static/static/img/cloudshark-… | 0
3 files changed, 17 insertions(+), 1 deletion(-)
---
DIR 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"]
++++
+
DIR 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 }}
DIR diff --git a/docs/static/static/img/cloudshark-tn.jpg b/docs/static/static/img/cloudshark-tn.jpg
Binary files differ.