aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-11-16 09:04:38 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-11-16 09:04:38 +0100
commitd7ae3256a185358493bd9576b39086c438008164 (patch)
treed8d1d4ff13fb6e1e5ee02e2d5c6aaf649a59cc37
parente37ece7e11aa99151aa605e4b5a2e4c437f638d3 (diff)
Make the title a link to the /
-rw-r--r--templates/web/entry.html2
-rw-r--r--templates/web/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/entry.html b/templates/web/entry.html
index 0948625..774ef40 100644
--- a/templates/web/entry.html
+++ b/templates/web/entry.html
@@ -4,7 +4,7 @@
{% block content %}
<header>
- <h1>{{ settings.name }}</h1>
+ <h1><a href="{{ url_for('index') }}">{{ settings.name }}</a></h1>
<nav><a href="{{ url_for('index') }}">home</a></nav>
</header>
<h3>{{ entry.data.name }}</h3>
diff --git a/templates/web/index.html b/templates/web/index.html
index 4436d23..eb3567a 100644
--- a/templates/web/index.html
+++ b/templates/web/index.html
@@ -4,7 +4,7 @@
{% block content %}
<header>
- <h1>{{ settings.name }}</h1>
+ <h1><a href="{{ url_for('index') }}">{{ settings.name }}</a></h1>
<aside><form method="get" action="{{ url_for('search') }}"><input name="q" value="{{ q }}"><input type="submit" value="Search"></form></aside>
</header>
<ul>