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>2022-04-11 08:08:51 +0300
committerLinlin Yan <yanlinlin82@gmail.com>2022-04-11 08:08:51 +0300
commit641a854a0a705a5ddbb3badeb2bc23cc079f9de6 (patch)
tree71ae2421f76d05c10c4f65951c3a8fc21f8c2219
parentd508a87c472f399b11eee60bbb517a2950b98077 (diff)
Add <base> in HTML head.
-rw-r--r--layouts/_default/baseof.html1
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 }}">