diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2024-11-08 17:30:19 +0100 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2024-11-08 17:30:19 +0100 |
| commit | 5b01707a04c362ced66428bef8e0234176d212d9 (patch) | |
| tree | 99e43efa171403cc08c7be28f9ec791462f822a9 /src/match_up/templates/macros.j2 | |
| parent | 2a390e99e03fe538169aa6d7c23669eaa5ece467 (diff) | |
Added the changes to the templates to pass the url_for function
Diffstat (limited to 'src/match_up/templates/macros.j2')
| -rw-r--r-- | src/match_up/templates/macros.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/match_up/templates/macros.j2 b/src/match_up/templates/macros.j2 index 8d05bb0..dedbf48 100644 --- a/src/match_up/templates/macros.j2 +++ b/src/match_up/templates/macros.j2 @@ -22,7 +22,7 @@ </div> {%- endmacro %} -{% macro header() -%} +{% macro header(url_for) -%} <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> @@ -38,7 +38,7 @@ <div class="content has-text-centered">Made by <a href="https://karanjayachandra.com/">Karan</a> using <a href="https://flask.palletsprojects.com">Flask</a>, <a href="https://htmx.org/">HTMX</a> and <a href="https://bulma.io">Bulma</a></div> {%- endmacro %} -{% macro navbar() -%} +{% macro navbar(url_for) -%} <nav class="level"> <div class="level-left"> <div class="level-item"> |
