shithub: hugo

Download patch

ref: 4f1807c7a766e4c655c8582aa83783f7e1f9f4b6
parent: 9564e6e9d8b889ddf29a777af12492a5d2560501
author: spf13 <[email protected]>
date: Wed Jan 22 12:16:09 EST 2014

Replacing hall of fame with showcase. (new type, content driven, thumbnails, etc)

--- a/docs/content/community/hall-of-fame.md
+++ /dev/null
@@ -1,20 +1,0 @@
----
-title: "Hall of Fame"
-date: "2013-07-01"
-groups: ["community"]
-groups_weight: 20
----
-
-Here we have listed sites built using Hugo.
-
-If you want to be added to this page please send a [pull request](https://github.com/spf13/hugo/pulls).
-
-
-
-| **Site**                                         | **Source**                                            | **License**  |
-| ------------------------------------------------ | ----------------------------------------------------- | -----------: |
-| [hugo](http://hugo.spf13.com)                    | [source](http://github.com/spf13/hugo/docs)           | SIMPL        |
-| [spf13](http://spf13.com)                        | [source](http://github.com/spf13/spf13.com)           | MIT          |
-| [Chimera Art Space](http://chimeraarts.org)      | [source](https://github.com/chimera/chimeraarts.org)  | CC-SA        |
-| [ifup](http://ifup.org)                          | [source](https://github.com/philips/www.ifup.org)     | MIT          |
-| [andrewcodispoti.com](http://andrewcodispoti.com) | [source](https://gitlab.com/acodispo/andrewcodispoti-com)     | CC-BY-SA |
--- /dev/null
+++ b/docs/content/showcase/asc.md
@@ -1,0 +1,11 @@
++++
+title = "Andrew S Codispoti"
+date = 2014-01-22T07:32:00Z
+description = ""
+license = "CC-BY-SA"
+licenseLink = ""
+sourceLink = "https://gitlab.com/acodispo/andrewcodispoti-com"
+sitelink = "http://andrewcodispoti.com"
+thumbnail = "/static/img/asc-tn.jpg"
+tags = [ "personal", "bootstrap" ]
++++
--- /dev/null
+++ b/docs/content/showcase/chimera-art-space.md
@@ -1,0 +1,11 @@
++++
+title = "Chimera Art Space"
+date = 2013-10-02T07:32:00Z 
+description = ""
+license = "CC-SA"
+licenseLink = ""
+sourceLink = "https://github.com/chimera/chimeraarts.org"
+sitelink = "http://chimeraarts.org"
+thumbnail = "/static/img/chimera-tn.jpg"
+tags = ["company", "bootstrap" ]
++++
--- /dev/null
+++ b/docs/content/showcase/hugo.md
@@ -1,0 +1,12 @@
++++
+title = "Hugo Documentation"
+date = 2013-07-01T07:32:00Z 
+description = "This site"
+license = "Simpl"
+licenseLink = ""
+sourceLink = "http://github.com/spf13/hugo/docs"
+sitelink = "http://hugo.spf13.com"
+thumbnail = "/static/img/hugo-tn.jpg"
+tags = ["documentation", "bootstrap"]
++++
+
--- /dev/null
+++ b/docs/content/showcase/ifup.md
@@ -1,0 +1,11 @@
++++
+title = "ifup"
+date = 2013-11-02T07:32:00Z 
+description = ""
+license = "MIT"
+licenseLink = ""
+sourceLink = "http://www.ifup.org"
+sitelink = "http://ifup.org"
+thumbnail = "/static/img/ifup-tn.jpg"
+tags = [ "personal", "blog" ]
++++
--- /dev/null
+++ b/docs/content/showcase/spf13.md
@@ -1,0 +1,11 @@
++++
+title = "spf13 is Steve Francia"
+date = 2013-07-01T07:32:00Z 
+description = "The first Hugo powered website."
+license = "MIT"
+licenseLink = ""
+sourceLink = "http://github.com/spf13/spf13.com"
+sitelink = "http://spf13.com"
+thumbnail = "/static/img/spf13-tn.jpg"
+tags = ["personal", "blog"]
++++
--- a/docs/layouts/chrome/menu.html
+++ b/docs/layouts/chrome/menu.html
@@ -56,6 +56,7 @@
       <li class="dropdown">
         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Community <b class="caret"></b></a>
         <ul class="dropdown-menu">
+            <li hugo-nav="showcase"><a href="/showcase"> Showcase </a> </li>
             {{ range $key, $value := .Site.Indexes.groups.community.Pages }}
             <li hugo-nav="{{$value.RelPermalink}}"><a href="{{$value.Permalink}}"> {{ $value.LinkTitle }} </a> </li>
             {{ end }}
--- /dev/null
+++ b/docs/layouts/indexes/showcase.html
@@ -1,0 +1,14 @@
+{{ template "chrome/header.html" . }}
+<section id="main">
+  <div>
+   <h1 id="title">Showcase</h1>
+        <div class="row">
+        {{ range .Data.Pages.ByDate }}
+            {{ .Render "thumbnail"}}
+        {{ end }}
+        </div>
+  </div>
+  <br><br>
+  If you want to be added to this page please send a <a href="https://github.com/spf13/hugo/pulls">pull request</a>.
+</section>
+{{ template "chrome/footer.html" . }}
--- /dev/null
+++ b/docs/layouts/showcase/thumbnail.html
@@ -1,0 +1,10 @@
+<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>
+            {{ range .Params.tags }}
+            <span class="label label-default" style="font-size:60%;">{{ . }}</span>
+            {{ end }}
+    </div>
+</div>
+
binary files /dev/null b/docs/static/static/img/asc-tn.jpg differ
binary files /dev/null b/docs/static/static/img/chimera-tn.jpg differ
binary files /dev/null b/docs/static/static/img/converse-fields 2.jpg differ
binary files /dev/null b/docs/static/static/img/hugo-tn.jpg differ
binary files /dev/null b/docs/static/static/img/ifup-tn.jpg differ
binary files /dev/null b/docs/static/static/img/spf13-tn.jpg differ