shithub: hugo

Download patch

ref: e31d4609098f8f9c86551c3d1b11cb887b42bfcb
parent: b047e2f88046b9018dd7b974d73a23e730e16300
author: spf13 <[email protected]>
date: Tue Aug 19 17:47:38 EDT 2014

Bringing back the showcase

--- a/docs/config.toml
+++ b/docs/config.toml
@@ -11,6 +11,11 @@
     url = "https://github.com/spf13/hugo/releases"
     weight = -200
 [[menu.main]]
+    name = "Showcase"
+    pre = "<i class='fa fa-cubes'></i>"
+    url = "/showcase/"
+    weight = -200
+[[menu.main]]
     name = "about hugo"
     pre = "<i class='fa fa-heart'></i>"
     weight = -110
--- /dev/null
+++ b/docs/layouts/section/showcase.html
@@ -1,0 +1,12 @@
+{{ partial "header.html" . }}
+
+   <h1 id="title">Hugo Built Sites (with source)</h1>
+        <div class="row">
+        {{ range .Data.Pages.ByDate }}
+            {{ .Render "thumbnail"}}
+        {{ end }}
+        </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>.
+
+{{ partial "footer.html" . }}