Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yanlinlin82/simple-style.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinlin Yan <yanlinlin82@gmail.com>2020-01-02 16:03:59 +0300
committerLinlin Yan <yanlinlin82@gmail.com>2020-01-02 16:03:59 +0300
commit3e0fac95d29ac40517d4f99937abdaf05e6b95eb (patch)
treed67257abb672a969ab9de6bb1727401b7bee3f22
parente568beaa0132243e489346bea9ebdd5939d69d61 (diff)
Correct by refURL
-rw-r--r--layouts/_default/baseof.html2
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 -}}