1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 09:02:18 +01:00

layouts/_default/baseof.html: Remove base tag

It was screwing up relative links like the ones in footnotes. I'm
not sure why I added it in the first place, actually, as the docs
specifically say "specifies the base URL to use for all relative
URLs contained within a document".

See: https://developer.mozilla.org/en/docs/Web/HTML/Element/base
This commit is contained in:
Alan Orth 2017-01-05 15:20:29 +02:00
parent ffb8487c13
commit fa0df752a1
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -4,7 +4,6 @@
<head> <head>
{{ partial "head-meta.html" . }} {{ partial "head-meta.html" . }}
<base href="{{ .Site.BaseURL }}">
<link rel="canonical" href="{{ .Permalink }}"> <link rel="canonical" href="{{ .Permalink }}">
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title> <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>