Adding base href to header of site. Changing our logo to link to /, effectively the base href

This commit is contained in:
Halfdan 2022-11-19 15:14:56 +01:00
parent 6f172aeff7
commit be0d312cdc
2 changed files with 2 additions and 1 deletions

View file

@ -4,7 +4,7 @@
<body>
<aside>
<header>
<a href="index.html"><img src="{{ printf "/static/img/logo_%s.svg" .Site.Language.Lang | absURL }}" alt="data coop logo" width="240" height="140"></a>
<a href="/"><img src="{{ printf "/static/img/logo_%s.svg" .Site.Language.Lang | absURL }}" alt="data coop logo" width="240" height="140"></a>
<div class="nav-toggle" id="nav-toggle-header">
<span id="nav-toggle-a"></span>

View file

@ -1,6 +1,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<base href={{ .Site.BaseURL }}>
{{ hugo.Generator }}