add a conditionally rendered "back to home" link

This commit is contained in:
2025-05-07 10:54:10 -07:00
parent 2430e8c214
commit 40e8f5c07c
3 changed files with 19 additions and 1 deletions

View File

@@ -16,6 +16,14 @@
<title>{{ page.title }}</title>
</head>
<body>
{% if page.isIndexPage != 1 %}
<nav>
<a href="/" title="Home">
back to home
</a>
</nav>
{% endif %}
<main>
{{ content }}
</main>