summaryrefslogtreecommitdiff
path: root/layouts/partials/back_nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/back_nav.html')
-rw-r--r--layouts/partials/back_nav.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/layouts/partials/back_nav.html b/layouts/partials/back_nav.html
index d900a08..59698dd 100644
--- a/layouts/partials/back_nav.html
+++ b/layouts/partials/back_nav.html
@@ -1,6 +1,7 @@
+{{ if not .Page.Params.noback }}
<nav class="back-link">
{{ if .Page.Params.hardback }}
- <a href="/">&larr; back to MSW</a>
+ <a href="/">&larr; back to Homepage</a>
{{ else if in .Page.Params.category "star-trek" }}
<a href="/star-trek/">&larr; back to Space Cadet Log</a>
{{ else if in .Page.Params.Category "site-info" }}
@@ -8,4 +9,10 @@
{{ else if in .Page.Params.Category "bsd" }}
<a href="/bsd/">&larr; Back to Demonic BSD Site</a>
{{ end }}
+
+{{ if not .Page.Params.hardback }}
+ <br>
+ <a href="/">&#x219e; back to Homepage</a>
+{{ end }}
</nav>
+{{ end }}