mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
The baseURL should have a slash at the end
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
baseurl = "https://example.com"
|
baseurl = "https://example.com/"
|
||||||
theme = "cocoa-eh-hugo-theme"
|
theme = "cocoa-eh-hugo-theme"
|
||||||
builddrafts = true
|
builddrafts = true
|
||||||
canonifyurls = true
|
canonifyurls = true
|
||||||
|
@@ -14,9 +14,9 @@
|
|||||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.8.0/styles/default.min.css">
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.8.0/styles/default.min.css">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/reset.css">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/reset.css">
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/pygments.css">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/pygments.css">
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/main.css">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css">
|
||||||
|
|
||||||
{{range .Site.Params.extracssfiles}}
|
{{range .Site.Params.extracssfiles}}
|
||||||
<link rel="stylesheet" href="{{.}}">
|
<link rel="stylesheet" href="{{.}}">
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
{{ if .Site.Params.faviconfile }}
|
{{ if .Site.Params.faviconfile }}
|
||||||
href="{{ .Site.Params.faviconfile | absURL }}"
|
href="{{ .Site.Params.faviconfile | absURL }}"
|
||||||
{{ else }}
|
{{ else }}
|
||||||
href="{{ .Site.BaseURL }}/img/favicon.ico"
|
href="{{ .Site.BaseURL }}img/favicon.ico"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
>
|
>
|
||||||
|
|
||||||
|
@@ -18,8 +18,8 @@
|
|||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<a href="{{ .Site.BaseURL }}"><li>Blog</li></a>
|
<a href="{{ .Site.BaseURL }}"><li>Blog</li></a>
|
||||||
<a href="{{ .Site.BaseURL }}/about/"><li>About</li></a>
|
<a href="{{ .Site.BaseURL }}about/"><li>About</li></a>
|
||||||
<a href="{{ .Site.BaseURL }}/projects/"><li>Projects</li></a>
|
<a href="{{ .Site.BaseURL }}projects/"><li>Projects</li></a>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user