From e31d4609098f8f9c86551c3d1b11cb887b42bfcb Mon Sep 17 00:00:00 2001 From: spf13 Date: Tue, 19 Aug 2014 21:47:38 -0400 Subject: [PATCH] Bringing back the showcase --- docs/config.toml | 5 +++++ docs/layouts/section/showcase.html | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 docs/layouts/section/showcase.html diff --git a/docs/config.toml b/docs/config.toml index 4dd348156..0bc9e4b11 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 000000000..a5d8c78c0 --- /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" . }}