mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 19:56: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">
|
||||
{{ end }}
|
||||
|
||||
<link rel="stylesheet" href="/css/reset.css">
|
||||
<link rel="stylesheet" href="/css/pygments.css">
|
||||
<link rel="stylesheet" href="/css/main.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/main.css">
|
||||
|
||||
{{range .Site.Params.extracssfiles}}
|
||||
<link rel="stylesheet" href="{{.}}">
|
||||
@@ -25,9 +25,9 @@
|
||||
<!-- Icon -->
|
||||
<link rel="shortcut icon"
|
||||
{{ if .Site.Params.faviconfile }}
|
||||
href="/{{ .Site.Params.faviconfile | absURL }}"
|
||||
href="{{ .Site.Params.faviconfile | absURL }}"
|
||||
{{ else }}
|
||||
href="/img/favicon.ico"
|
||||
href="{{ .Site.BaseURL }}/img/favicon.ico"
|
||||
{{ end }}
|
||||
>
|
||||
|
||||
|
Reference in New Issue
Block a user