diff options
author | Vivek R <vividvilla@gmail.com> | 2020-05-24 09:48:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-24 09:48:05 +0300 |
commit | af7542395d7d01c1eebf0fdd957c944f3a04d1a1 (patch) | |
tree | 8431fb855a7230a2e03a3e180b85b40de212a469 | |
parent | 9e5c5eb8f3b250ef0168397ff2e9a9356ebac8d6 (diff) | |
parent | fc305d77075726b3b469b9e9db7c3203a2d28194 (diff) |
Merge pull request #52 from komish/add-baseURL-to-head
adding base tag to header to fix static file linking
-rw-r--r-- | layouts/partials/head.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2467747..0296d31 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,4 +1,5 @@ <div class="header"> + <base href="{{ .Site.BaseURL }}"> <h1 class="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1> <div class="site-description"> {{- if isset .Site.Params "subtitle" -}} |