mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Using relative URLs in the header (#118)
* using relative URLs in the header * using relative permalinks for regular pages
This commit is contained in:

committed by
Michael Noronha

parent
bf38d4ef79
commit
55a3b2a42b
@@ -41,13 +41,13 @@
|
||||
{{ end }}
|
||||
|
||||
{{ range .Site.Params.extracssfiles }}
|
||||
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||
<link rel="stylesheet" href="{{ . | relURL }}">
|
||||
{{ end }}
|
||||
|
||||
<!-- Icon -->
|
||||
<link rel="shortcut icon"
|
||||
{{ if .Site.Params.faviconfile }}
|
||||
href="{{ .Site.Params.faviconfile | absURL }}"
|
||||
href="{{ .Site.Params.faviconfile | relURL }}"
|
||||
{{ else }}
|
||||
href="{{ .Site.BaseURL }}img/favicon.ico"
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user