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.
This commit is contained in:
parent
f39045c690
commit
62424761f4
2
Makefile
2
Makefile
|
@ -19,7 +19,7 @@ build:
|
||||||
clean:
|
clean:
|
||||||
-rm -r public/*
|
-rm -r public/*
|
||||||
|
|
||||||
install: build
|
install:
|
||||||
cp -r public/ $(HTTPDIR)/
|
cp -r public/ $(HTTPDIR)/
|
||||||
find $(HTTPDIR) ! -path $(HTTPDIR) -type d -exec chmod $(DIRMODE) {} +
|
find $(HTTPDIR) ! -path $(HTTPDIR) -type d -exec chmod $(DIRMODE) {} +
|
||||||
find $(HTTPDIR) ! -path $(HTTPDIR) -type f -exec chmod $(FILEMODE) {} +
|
find $(HTTPDIR) ! -path $(HTTPDIR) -type f -exec chmod $(FILEMODE) {} +
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
baseurl = "http://zero-knowledge.org/"
|
baseurl = ""
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "zero-knowledge"
|
title = "zero-knowledge"
|
||||||
theme = "zero"
|
theme = "zero"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</header>
|
</header>
|
||||||
<aside>
|
<aside>
|
||||||
{{ if .Params.author }}
|
{{ if .Params.author }}
|
||||||
<a class="author" href="{{ .Site.BaseURL }}author/{{ lower .Params.author }}">{{ .Params.author }}</a>
|
<a class="author" href="{{ .Site.BaseURL }}/author/{{ lower .Params.author }}">{{ .Params.author }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<span class="date">{{ dateFormat "2006-01-02 15:04" .Date }}</span>
|
<span class="date">{{ dateFormat "2006-01-02 15:04" .Date }}</span>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
|
@ -10,5 +10,5 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
<h1><a href="{{ .Site.BaseURL }}/">{{ .Site.Title }}</a></h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{{ if .Truncated }}<a class="more" href="{{ .Permalink }}">read more</a>{{ end }}
|
{{ if .Truncated }}<a class="more" href="{{ .Permalink }}">read more</a>{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
<aside>
|
<aside>
|
||||||
<a class="author" href="{{ .Site.BaseURL }}author/{{ lower .Params.author }}">{{ .Params.author }}</a>
|
<a class="author" href="{{ .Site.BaseURL }}/author/{{ lower .Params.author }}">{{ .Params.author }}</a>
|
||||||
<span class="date">{{ dateFormat "2006-01-02 15:04" .Date }}</span>
|
<span class="date">{{ dateFormat "2006-01-02 15:04" .Date }}</span>
|
||||||
</aside>
|
</aside>
|
||||||
<section class="summary">
|
<section class="summary">
|
||||||
|
|
Loading…
Reference in New Issue