diff options
author | Linlin Yan <yanlinlin82@gmail.com> | 2020-01-02 16:03:59 +0300 |
---|---|---|
committer | Linlin Yan <yanlinlin82@gmail.com> | 2020-01-02 16:03:59 +0300 |
commit | 3e0fac95d29ac40517d4f99937abdaf05e6b95eb (patch) | |
tree | d67257abb672a969ab9de6bb1727401b7bee3f22 | |
parent | e568beaa0132243e489346bea9ebdd5939d69d61 (diff) |
Correct by refURL
-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 -}} |