Using relative URLs in the header (#118)

* using relative URLs in the header

* using relative permalinks for regular pages
This commit is contained in:
Aaron Schlesinger
2019-04-06 11:23:02 -07:00
committed by Michael Noronha
parent bf38d4ef79
commit 55a3b2a42b
2 changed files with 7 additions and 7 deletions

View File

@@ -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 }}