From 17a69ee6307a643777a851b31fd5b498e200aa76 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 7 Jun 2014 09:57:40 +0100 Subject: Add missing div closing tag --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/index.html b/layouts/index.html index 320b975..b8c9d65 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -20,7 +20,7 @@ {{ end }} - + -- cgit 1.4.1 From 9bd0f367e2a2c911ea896b9ddcc85252e0156f99 Mon Sep 17 00:00:00 2001 From: Glen Baker Date: Sat, 23 Aug 2014 22:46:02 -0700 Subject: Removed extra unused html tags from list template, h4 and unused span Conflicts: layouts/_default/list.html --- layouts/_default/list.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f93e73b..b911013 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,15 +1,16 @@ {{ template "theme/partials/head.html" . }} -{{ template "theme/partials/sidebar.html" . }} + {{ template "theme/partials/sidebar.html" . }} -
- -
- - +
+ +
+ -- cgit 1.4.1 From e1a4df05e8607090d012eb806fd47f58b46e7f0e Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Wed, 3 Sep 2014 18:47:06 -0600 Subject: Use `partial` call to include partial templates Replace `template` call with the `partial` call (new in Hugo v0.12) for including partial templates --- layouts/_default/list.html | 4 ++-- layouts/_default/single.html | 4 ++-- layouts/index.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b911013..f19a26f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,7 @@ -{{ template "theme/partials/head.html" . }} +{{ partial "head.html" . }} - {{ template "theme/partials/sidebar.html" . }} +{{ partial "sidebar.html" . }}
-

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

+

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

-- cgit 1.4.1 From 4ce7ab945a525d94b59d1fbe2929a88b15b30430 Mon Sep 17 00:00:00 2001 From: Gio d'Amelio Date: Mon, 23 Feb 2015 20:02:12 -0800 Subject: Fetch google fonts over https --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4ddf0fa..a9f9401 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -13,7 +13,7 @@ - + -- cgit 1.4.1 From 13774d8035eac2f01d4789cbd5a6bcdd42caabf7 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Mon, 18 May 2015 17:21:07 +0100 Subject: Corrected link to favicon image The original reference was to favicon.ico, when the provided image is .png--- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a9f9401..894b907 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -17,7 +17,7 @@ - + -- cgit 1.4.1 From 00eb7169f6062b041e4aa8402b96fce39ce0aa16 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Tue, 2 Jun 2015 19:14:54 +0200 Subject: Added an option change the theme globally in the configs --- README.md | 19 ++++++++++++++----- layouts/_default/list.html | 2 +- layouts/_default/single.html | 2 +- layouts/index.html | 1 - 4 files changed, 16 insertions(+), 8 deletions(-) (limited to 'layouts') diff --git a/README.md b/README.md index 2502796..3233a15 100644 --- a/README.md +++ b/README.md @@ -60,12 +60,21 @@ There are eight themes available at this time. ![Hyde theme classes](https://f.cloud.github.com/assets/98681/1817044/e5b0ec06-6f68-11e3-83d7-acd1942797a1.png) -To use a theme, add anyone of the available theme classes to the `` element in the `default.html` layout, like so: +To use a theme, add the `themeColor` variable under `params``, like so: -```html - - ... - +**TOML** +```toml +theme = "hyde" + +[params] + themeColor = "theme-base-09" +``` + +**YAML** +``` +theme: "hyde" +params: + themeColor: "theme-base-09" ``` To create your own theme, look to the Themes section of [included CSS file](https://github.com/poole/hyde/blob/master/public/css/hyde.css). Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors. diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f19a26f..23d4afc 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,5 @@ {{ partial "head.html" . }} - + {{ partial "sidebar.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 61d009d..9f4f603 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ partial "head.html" . }} - + {{ partial "sidebar.html" . }} diff --git a/layouts/index.html b/layouts/index.html index b26cdf5..468244b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,4 @@ {{ partial "head.html" . }} - {{ partial "sidebar.html" . }} -- cgit 1.4.1 From 6f6a0a7febd6a85309c1473d6e10b9e48ad1d9ea Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Tue, 2 Jun 2015 19:22:45 +0200 Subject: Added missing change in index.html --- layouts/index.html | 1 + 1 file changed, 1 insertion(+) (limited to 'layouts') diff --git a/layouts/index.html b/layouts/index.html index 468244b..6ba175e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,5 @@ {{ partial "head.html" . }} + {{ partial "sidebar.html" . }} -- cgit 1.4.1 From b8dbb207935197fa7b6a3ddae30f796bbefcd320 Mon Sep 17 00:00:00 2001 From: Karl Ostendorf Date: Wed, 10 Jun 2015 15:21:13 +0200 Subject: change .BaseUrl to .BaseURL --- layouts/partials/head.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a9f9401..776375c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,9 +10,9 @@ {{ .Title }} · {{ .Site.Title }} - - - + + + -- cgit 1.4.1 From 4e4c359b9a5b97becef24ed04c5e9ec064973883 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Thu, 18 Jun 2015 13:50:55 -0600 Subject: Add {{ .Hugo.Generator }} --- layouts/partials/head.html | 1 + theme.toml | 1 + 2 files changed, 2 insertions(+) (limited to 'layouts') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a9f9401..3579454 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,6 +3,7 @@ + {{ .Hugo.Generator }} diff --git a/theme.toml b/theme.toml index f4f238e..204cccc 100644 --- a/theme.toml +++ b/theme.toml @@ -3,6 +3,7 @@ license = "MIT" description = "An elegant open source and mobile first theme" tags = ["blog", "company"] features = ["blog", ] +min_version = 0.13 [author] name = "spf13" -- cgit 1.4.1 From 884e8edcd960bddc506f7eb4a7e89a4b2575d99a Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Thu, 25 Jun 2015 21:54:21 +0200 Subject: Replaced .Url with .URL in sidebar.html --- layouts/partials/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 645b25c..a197429 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -10,7 +10,7 @@ -- cgit 1.4.1 From 5b9efdbc1f5aacb73c329bd3c08bd6990d310356 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Tue, 2 Jun 2015 19:31:52 +0200 Subject: Added a 404 page This addition implements the design of the original 404 page. --- layouts/404.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 layouts/404.html (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..176cdb8 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,12 @@ +{{ partial "head.html" . }} + + +{{ partial "sidebar.html" . }} + +
+

404: Page not found

+

Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.

+
+ + + -- cgit 1.4.1 From 11adcd3d1496c75d8eff40830cc3942d0d4c926d Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Mon, 13 Jul 2015 23:41:37 +0200 Subject: Added .BaseURL to link in 404 page --- layouts/404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html index 176cdb8..822572d 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -5,7 +5,7 @@

404: Page not found

-

Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.

+

Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.

-- cgit 1.4.1 From c87ec5559f42637dc3663625da99a5d7f1dbf532 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Tue, 2 Jun 2015 18:58:59 +0200 Subject: Linking the title in the sidebar to home --- layouts/partials/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index a197429..4bdc33e 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,7 +1,7 @@