diff options
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> |
