Skip to content
Snippets Groups Projects
Commit 27dcaf1c authored by Martyn Welch's avatar Martyn Welch Committed by Emanuele Aina
Browse files

Add link to footer containing link to page source


In order to make it easier for users to discover where to edit the
website, add a link in the page footer pointing to the current page in
GitLab.

Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
parent ebc7566d
No related branches found
No related tags found
1 merge request!222Add link to footer containing link to page source
Pipeline #247361 passed
......@@ -26,6 +26,7 @@ languageCode = "en-us"
rss = true
license = "Content is available under Creative Commons Attribution Share Alike unless otherwise noted."
pager = false
sourceLink = "https://gitlab.apertis.org/docs/apertis-website/-/blob/master/content/"
# Menu
[menu]
......
......@@ -60,6 +60,9 @@
{{ end }}
</ul>
</p>
<p class="credits text-center text-muted">
<a href="{{ $.Site.Params.sourceLink}}{{ $.File.Path }}">View page source</a>
</p>
<!-- Please don't remove this, keep my open source work credited :) -->
<p class="credits theme-by text-muted">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment