From 663e797209b11d7d234ca90da82fb809ac688845 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 18 Oct 2024 15:50:19 +0200 Subject: Made macros out of reused components --- templates/index.j2 | 41 ++++------------------------------------- 1 file changed, 4 insertions(+), 37 deletions(-) (limited to 'templates/index.j2') diff --git a/templates/index.j2 b/templates/index.j2 index ff8f37a..832dbfb 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -1,46 +1,13 @@ +{% from "macros.j2" import header, footer, navbar %} - - - - Match Up! - - - - - + {{ header() }}
- + {{ navbar() }}
-
- Made by Karan using Flask, HTMX and Bulma -
+ {{ footer() }}
-- cgit v1.3.1