From 667e11c4ec3835d959aab1797647bd0a49869674 Mon Sep 17 00:00:00 2001 From: etienne Date: Tue, 21 Oct 2014 23:35:24 +0200 Subject: Init commit --- layouts/_default/list.html | 0 layouts/_default/single.html | 3 ++ layouts/index.html | 74 +++++++++++++++++++++++++++++++++++++++++ layouts/partials/analytics.html | 0 layouts/partials/footer.html | 61 +++++++++++++++++++++++++++++++++ layouts/partials/header.html | 24 +++++++++++++ layouts/partials/menu.html | 40 ++++++++++++++++++++++ layouts/partials/top-block.html | 19 +++++++++++ layouts/section/showcase.html | 12 +++++++ layouts/showcase/thumbnail.html | 15 +++++++++ 10 files changed, 248 insertions(+) create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100755 layouts/index.html create mode 100644 layouts/partials/analytics.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/menu.html create mode 100644 layouts/partials/top-block.html create mode 100644 layouts/section/showcase.html create mode 100644 layouts/showcase/thumbnail.html (limited to 'layouts') diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..16f6ffc --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,3 @@ +{{ partial "header.html" . }} +{{ .Content }} +{{ partial "footer.html" . }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100755 index 0000000..af4654e --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,74 @@ +{{ partial "header.html" . }} +{{ partial "top-block.html" . }} + {{ range $index, $element := .Data.Pages.ByWeight }}{{ if eq .Section "post" }} + +
+ + {{ if modBool $index 2 }}
{{ else }}
{{ end}} +
+
+
+ {{ if (isset .Params "icon") }} + + {{ end }} +

{{ .Title }}

+

+ {{ .Content }} +

+
+
+
+
+ + {{ end }} + {{ if eq .Section "carousel" }} + + + +
+
+
+
+ {{ if (isset .Params "icon") }} + + {{ end }} +

{{ .Content }}

+
+
+
+
+ + +
+
+
+
+
+ + {{ end }} + {{ end }} + +
+ + +
+
+
+
+

Getting Started

+ Download + Quickstart Guide +

 

+

Using Homebrew?

+
brew install hugo
+
+
+
+
+ + +{{ partial "footer.html" . }} diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..1eb3f85 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,61 @@ + + + + + + + + + + + +{{ partial "analytics.html" . }} + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..5fdac85 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,24 @@ + + + + + + + + + {{ .Title }} + + + + + + + + + + + + + + + diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html new file mode 100644 index 0000000..5a9e1dd --- /dev/null +++ b/layouts/partials/menu.html @@ -0,0 +1,40 @@ + + + diff --git a/layouts/partials/top-block.html b/layouts/partials/top-block.html new file mode 100644 index 0000000..1427150 --- /dev/null +++ b/layouts/partials/top-block.html @@ -0,0 +1,19 @@ + + +
+
+ +
{{ .Site.Title }}
+
{{ .Site.Params.description }}
+
+ Docs + Install + Community + GitHub + {{ range .Site.Params.social }} + {{ .title }} + {{ end }} +
+
+
+ diff --git a/layouts/section/showcase.html b/layouts/section/showcase.html new file mode 100644 index 0000000..65ef64b --- /dev/null +++ b/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" . }} diff --git a/layouts/showcase/thumbnail.html b/layouts/showcase/thumbnail.html new file mode 100644 index 0000000..b130136 --- /dev/null +++ b/layouts/showcase/thumbnail.html @@ -0,0 +1,15 @@ +
+
+ {{ .Description }} +

+ {{ .Title }} + {{ if (isset .Params "sourcelink") }} + source + {{ end }} +

+ {{ range .Params.tags }} + {{ . }} + {{ end }} +
+
+ -- cgit v1.3