summaryrefslogtreecommitdiff
path: root/templates/template.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/template.html.j2')
-rw-r--r--templates/template.html.j210
1 files changed, 3 insertions, 7 deletions
diff --git a/templates/template.html.j2 b/templates/template.html.j2
index 4753dfd..711cbc7 100644
--- a/templates/template.html.j2
+++ b/templates/template.html.j2
@@ -17,15 +17,11 @@
<a href="/" id="the_title"><h1>{{ title }}</h1></a>
<nav id="navbar">
<ul>
+ {% for name, link in articles %}
<li>
- <a href="{{ prefix }}index.html">home</a>
- </li>
- <li>
- <a href="{{ prefix }}thoughts.html">thoughts</a>
- </li>
- <li>
- <a href="{{ prefix }}about.html">about me</a>
+ <a href="{{link}}">{{name}}</a>
</li>
+ {% endfor %}
</ul>
</nav>
</div>