diff options
-rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5e91693..055ef31 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> {{ partial "html-meta.html" . -}} <title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> -<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/css/main.css"> +<link rel="stylesheet" type="text/css" href="{{ "/css/main.css" | relURL }}"> {{ with .Site.Params.favicon -}} <link rel="icon" href="{{ . }}" type="image/x-icon"> {{ end -}} |