aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2025-10-16 07:46:19 +0300
committerA Farzat <a@farzat.xyz>2025-10-16 07:46:19 +0300
commit136c784a52c02ed205a77ef44159ba4b661c2dad (patch)
tree4e5b1bc326399aa68ab4573ef249f6ba5b491452
parente5d288375a0eed55382ef4d62b0fc33fcc3bcd43 (diff)
downloadfarzat.xyz-136c784a52c02ed205a77ef44159ba4b661c2dad.tar.gz
farzat.xyz-136c784a52c02ed205a77ef44159ba4b661c2dad.zip
Override index template to add title
-rw-r--r--templates/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..aaece0c
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,6 @@
+{% extends "base.html" %}
+
+{% block content %}
+<h1>{{ section.title }}</h1>
+{{ section.content | safe }}
+{% endblock content %}