We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de752fd commit 09a3313Copy full SHA for 09a3313
main.py
@@ -15,10 +15,10 @@
15
# Define custom variables passed over to the templates
16
template_vars = {
17
'navbar': [
18
- ('', 'Home'),
19
- ('about', 'About'),
20
- ('quick_start', 'Quick start guide'),
21
- ('docs', 'Documentation'),
+ ('/', 'Home'),
+ ('about/', 'About'),
+ ('quick_start/', 'Quick start guide'),
+ ('docs/', 'Documentation'),
22
]
23
}
24
templates/main.html
@@ -18,7 +18,7 @@
/_/ /_/ /_/\___/_/ /_/ /_/_/ /_/\____/|__/|__/</pre>
<ul class="navbar">
{% for link, title in navbar %}
- <a href={{backlink}}{{ link }}>{{ title }}</a>
+ <a href="{{ backlink }}{{ link }}">{{ title }}</a>
{%- if not loop.last %}
<pre> | </pre>
{% endif %}
0 commit comments