commit e31d4609098f8f9c86551c3d1b11cb887b42bfcb
parent b047e2f88046b9018dd7b974d73a23e730e16300
Author: spf13 <steve.francia@gmail.com>
Date: Tue, 19 Aug 2014 21:47:38 -0400
Bringing back the showcase
Diffstat:
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/docs/config.toml b/docs/config.toml
@@ -11,6 +11,11 @@ MetaDataFormat = "yaml"
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
diff --git a/docs/layouts/section/showcase.html b/docs/layouts/section/showcase.html
@@ -0,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" . }}