mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Add more correct path with BaseURL
This commit is contained in:
@@ -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="/css/reset.css">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/reset.css">
|
||||||
<link rel="stylesheet" href="/css/pygments.css">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/pygments.css">
|
||||||
<link rel="stylesheet" href="/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="{{.}}">
|
||||||
@@ -25,9 +25,9 @@
|
|||||||
<!-- Icon -->
|
<!-- Icon -->
|
||||||
<link rel="shortcut icon"
|
<link rel="shortcut icon"
|
||||||
{{ if .Site.Params.faviconfile }}
|
{{ if .Site.Params.faviconfile }}
|
||||||
href="/{{ .Site.Params.faviconfile | absURL }}"
|
href="{{ .Site.Params.faviconfile | absURL }}"
|
||||||
{{ else }}
|
{{ else }}
|
||||||
href="/img/favicon.ico"
|
href="{{ .Site.BaseURL }}/img/favicon.ico"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
>
|
>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user