From 62424761f41eb3abc917ce1cceab494bf173ef1a Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 17 Nov 2015 22:00:40 +0100 Subject: [PATCH] some release fixes To get https working, the paths need to be absolute in relation to the called domain. For that, I had to set the base URL empty and make every path begin with a slash. --- Makefile | 2 +- config.toml | 2 +- themes/zero/layouts/_default/si.html | 2 +- themes/zero/layouts/partials/header.html | 2 +- themes/zero/layouts/post/summary.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 32afb09..4f2ebf7 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ build: clean: -rm -r public/* -install: build +install: cp -r public/ $(HTTPDIR)/ find $(HTTPDIR) ! -path $(HTTPDIR) -type d -exec chmod $(DIRMODE) {} + find $(HTTPDIR) ! -path $(HTTPDIR) -type f -exec chmod $(FILEMODE) {} + diff --git a/config.toml b/config.toml index 4612543..852e6e2 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseurl = "http://zero-knowledge.org/" +baseurl = "" languageCode = "en-us" title = "zero-knowledge" theme = "zero" diff --git a/themes/zero/layouts/_default/si.html b/themes/zero/layouts/_default/si.html index 6136be4..bf06144 100644 --- a/themes/zero/layouts/_default/si.html +++ b/themes/zero/layouts/_default/si.html @@ -11,7 +11,7 @@ diff --git a/themes/zero/layouts/partials/header.html b/themes/zero/layouts/partials/header.html index 30cf442..2e7e39b 100644 --- a/themes/zero/layouts/partials/header.html +++ b/themes/zero/layouts/partials/header.html @@ -10,5 +10,5 @@
-

{{ .Site.Title }}

+

{{ .Site.Title }}

diff --git a/themes/zero/layouts/post/summary.html b/themes/zero/layouts/post/summary.html index 9f2b297..e7404cf 100644 --- a/themes/zero/layouts/post/summary.html +++ b/themes/zero/layouts/post/summary.html @@ -6,7 +6,7 @@ {{ if .Truncated }}read more{{ end }}