From 4a4ec507710cf1f108bb375630753e89bbfdcb59 Mon Sep 17 00:00:00 2001 From: Matteo Rosati Date: Tue, 10 Feb 2026 23:36:54 +0100 Subject: [PATCH] add base template. add htmx and base font --- frontend/templates/frontend/base.html | 19 +++++++++++++++++++ frontend/templates/frontend/home.html | 20 +++++++++----------- 2 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 frontend/templates/frontend/base.html diff --git a/frontend/templates/frontend/base.html b/frontend/templates/frontend/base.html new file mode 100644 index 0000000..e637e25 --- /dev/null +++ b/frontend/templates/frontend/base.html @@ -0,0 +1,19 @@ + + + + + + {% block title %}{% endblock %} + + + + + + + {% block content %} {% endblock %} + + diff --git a/frontend/templates/frontend/home.html b/frontend/templates/frontend/home.html index 435fc35..8580ca7 100644 --- a/frontend/templates/frontend/home.html +++ b/frontend/templates/frontend/home.html @@ -1,11 +1,9 @@ - - - - - - DroneWars - - -

Ciao e benvenuto su DroneWars!

- - +{% extends 'frontend/base.html' %} + +{% block title %}Home{% endblock %} + +{% block content%} +
+

Ciao

+
+{% endblock %}