add a conditionally rendered "back to home" link
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user