diff options
author | Linlin Yan <yanlinlin82@gmail.com> | 2022-04-11 08:08:51 +0300 |
---|---|---|
committer | Linlin Yan <yanlinlin82@gmail.com> | 2022-04-11 08:08:51 +0300 |
commit | 641a854a0a705a5ddbb3badeb2bc23cc079f9de6 (patch) | |
tree | 71ae2421f76d05c10c4f65951c3a8fc21f8c2219 /layouts | |
parent | d508a87c472f399b11eee60bbb517a2950b98077 (diff) |
Add <base> in HTML head.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 546ccc4..1df2849 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <base href="{{ .Site.BaseURL }}"> {{ partial "html-meta.html" . -}} <title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> <link rel="stylesheet" type="text/css" href="{{ "/css/main.css" | relURL }}"> |