diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-03-11 00:20:43 +0100 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-03-11 00:20:43 +0100 |
| commit | 1d1383ce943cf6b1ddb32b031a9c9a10e29f98fe (patch) | |
| tree | afd3bd4627ecfcfac6e16714eecb6e4516df7485 /templates | |
| parent | 85f1c648e09e200a11ae442c8b284b24818f9239 (diff) | |
first iteration of flask-app; index is working
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/template.html.j2 | 10 |
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> |
