Commit d9384d6b authored by Erik Faye-Lund 's avatar Erik Faye-Lund

footer: correct edit-page URLs

Paths in Hugo are relative to the content-directory, so we need to link
relative to that, otherwise we get an error when trying to edit.

This was missed when porting this from Jekyll to Hugo.
parent 1f05313d
Pipeline #146680 passed with stages
in 1 minute and 3 seconds
......@@ -33,7 +33,7 @@
<ul class="list-unstyled">
<li class="text-muted pb-2">Hosted by <a class="text-muted" href=""></a></li>
{{ if .Page.Path }}
<li><a class="text-muted" href="{{ .Site.Params.GitLabURL }}/blob/master/{{ .Page.Path }}">Edit this page</a></li>
<li><a class="text-muted" href="{{ .Site.Params.GitLabURL }}/blob/master/content/{{ .Page.Path }}">Edit this page</a></li>
{{ end }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment