From da66ac1983b586765652f54bf556f268f1e32ff4 Mon Sep 17 00:00:00 2001 From: spf13 Date: Sat, 26 Apr 2014 16:25:13 -0600 Subject: Adding the hyde theme --- layouts/_default/list.html | 15 +++++++++++++++ layouts/_default/single.html | 15 +++++++++++++++ layouts/chrome/head.html | 23 +++++++++++++++++++++++ layouts/chrome/sidebar.html | 19 +++++++++++++++++++ layouts/index.html | 26 ++++++++++++++++++++++++++ 5 files changed, 98 insertions(+) create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/chrome/head.html create mode 100644 layouts/chrome/sidebar.html create mode 100644 layouts/index.html (limited to 'layouts') diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..017c932 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,15 @@ +{{ template "theme/chrome/head.html" . }} + + +{{ template "theme/chrome/sidebar.html" . }} + +
+ +
+ + + diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..a6f29b1 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,15 @@ +{{ template "theme/chrome/head.html" . }} + + +{{ template "theme/chrome/sidebar.html" . }} + +
+
+

{{ .Title }}

+ + {{ .Content }} +
+
+ + + diff --git a/layouts/chrome/head.html b/layouts/chrome/head.html new file mode 100644 index 0000000..582750c --- /dev/null +++ b/layouts/chrome/head.html @@ -0,0 +1,23 @@ + + + + + + + + + + {{ .Title }} · {{ .Site.Title }} + + + + + + + + + + + + + diff --git a/layouts/chrome/sidebar.html b/layouts/chrome/sidebar.html new file mode 100644 index 0000000..93dffdd --- /dev/null +++ b/layouts/chrome/sidebar.html @@ -0,0 +1,19 @@ +
+
+

{{ .Site.Title }}

+

+ {{ with .Site.Params.Description }} {{.}} {{ else }}An elegant open source and mobile first theme for hugo made by @mdo. Originally made for Jekyll.{{end}} +

+ +
+ + +

{{ with .Site.Params.Copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}

+
+
+
diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..cb75c3b --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,26 @@ +{{ template "theme/chrome/head.html" . }} + + +{{ template "theme/chrome/sidebar.html" . }} + +
+
+ + {{ range .Data.Pages }} +
+

+ + {{ .Title }} + +

+ + + + {{ .Content }} +
+ {{ end }} +
+ + + + -- cgit 1.4.1