From: spf13 Date: Wed, 20 Aug 2014 01:47:38 +0000 (-0400) Subject: Bringing back the showcase X-Git-Tag: v0.12~51 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e31d4609;p=brevno-suite%2Fhugo Bringing back the showcase --- diff --git a/docs/config.toml b/docs/config.toml index 4dd34815..0bc9e4b1 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -10,6 +10,11 @@ MetaDataFormat = "yaml" pre = "" url = "https://github.com/spf13/hugo/releases" weight = -200 +[[menu.main]] + name = "Showcase" + pre = "" + url = "/showcase/" + weight = -200 [[menu.main]] name = "about hugo" pre = "" diff --git a/docs/layouts/section/showcase.html b/docs/layouts/section/showcase.html new file mode 100644 index 00000000..a5d8c78c --- /dev/null +++ b/docs/layouts/section/showcase.html @@ -0,0 +1,12 @@ +{{ partial "header.html" . }} + +

Hugo Built Sites (with source)

+
+ {{ range .Data.Pages.ByDate }} + {{ .Render "thumbnail"}} + {{ end }} +
+

+ If you want to be added to this page please send a pull request. + +{{ partial "footer.html" . }}