Skip to content

Commit

Permalink
fix: Remove the base element from layouts
Browse files Browse the repository at this point in the history
Remove the `base` element from `partials/head.html` to fix the relative
images issue.

Resolves: #6
See also: siegerts/hugo-theme-basic#2
  • Loading branch information
gundamew committed Jun 21, 2021
1 parent 57efe72 commit e95a87f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ with .Page.Title }}{{ . }} - {{ end }}{{ .Site.Title }}</title>
<base href="{{ .Site.BaseURL }}">
{{ $normalize := resources.Get "css/normalize.css" }}
{{ $solarized := resources.Get "css/solarized-light.css" }}
{{ $style := resources.Get "css/style.css" }}
Expand Down

0 comments on commit e95a87f

Please sign in to comment.