summaryrefslogtreecommitdiff
path: root/templates/template.html.j2
diff options
context:
space:
mode:
authoryuzu-eva <cafebabe@disroot.org>2025-03-11 00:20:43 +0100
committeryuzu-eva <cafebabe@disroot.org>2025-03-11 00:20:43 +0100
commit1d1383ce943cf6b1ddb32b031a9c9a10e29f98fe (patch)
treeafd3bd4627ecfcfac6e16714eecb6e4516df7485 /templates/template.html.j2
parent85f1c648e09e200a11ae442c8b284b24818f9239 (diff)
first iteration of flask-app; index is working
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>