mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
added appliance.cloudshark.org to showcase
also cleaned up thumbnail view to not show source link if unavailable
This commit is contained in:
parent
e50b9d8ac1
commit
2e4158b0b4
3 changed files with 17 additions and 1 deletions
11
docs/content/showcase/cloudshark.md
Normal file
11
docs/content/showcase/cloudshark.md
Normal file
|
@ -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"]
|
||||
+++
|
||||
|
|
@ -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 }}
|
||||
|
|
BIN
docs/static/static/img/cloudshark-tn.jpg
vendored
Normal file
BIN
docs/static/static/img/cloudshark-tn.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Loading…
Reference in a new issue