From d245c05825743e20d2df2900c4f8313d82ebcfe1 Mon Sep 17 00:00:00 2001
From: Vidhu Kant Sharma
Date: Mon, 2 Feb 2026 21:10:12 +0530
Subject: first commit
---
templates/404.html | 25 +++++++++++
templates/base.html | 70 +++++++++++++++++++++++++++++++
templates/feed.xml | 39 +++++++++++++++++
templates/index.html | 9 ++++
templates/macros/date.html | 3 ++
templates/macros/header.html | 26 ++++++++++++
templates/page.html | 9 ++++
templates/post.html | 29 +++++++++++++
templates/posts.html | 35 ++++++++++++++++
templates/shortcodes/guestbook_entry.html | 25 +++++++++++
templates/shortcodes/guestbook_form.html | 20 +++++++++
templates/shortcodes/img.html | 13 ++++++
12 files changed, 303 insertions(+)
create mode 100644 templates/404.html
create mode 100644 templates/base.html
create mode 100644 templates/feed.xml
create mode 100644 templates/index.html
create mode 100644 templates/macros/date.html
create mode 100644 templates/macros/header.html
create mode 100644 templates/page.html
create mode 100644 templates/post.html
create mode 100644 templates/posts.html
create mode 100644 templates/shortcodes/guestbook_entry.html
create mode 100644 templates/shortcodes/guestbook_form.html
create mode 100644 templates/shortcodes/img.html
(limited to 'templates')
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..071d8bd
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,25 @@
+{% extends "base.html" %}
+
+{% block head_extra %}
+
+{% endblock head_extra %}
+
+{% block title %}404 Page Not Found - {{ config.title }}{% endblock title %}
+{% block description %}The requested resource was not found (404){% endblock description %}
+
+{% block og_title %}404 Page Not Found - {{ config.title }}{% endblock og_title %}
+{% block og_description %}The requested resource was not found (404){% endblock og_description %}
+
+{% block main %}
+
+
+ The requested page was not found.
+
+
+
+ The URL is either invalid or the page was deleted.
+
+ Anyways, Return to the homepage.
+
+
+{% endblock main %}
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..181d859
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,70 @@
+{% import "macros/header.html" as header %}
+
+
+
+
+
+
+
+
+
+ {% block head_extra %}{% endblock head_extra %}
+
+ {% if current_url %}
+
+ {% endif %}
+
+
+
+ {% if current_url %}
+
+ {% endif %}
+
+
+
+
+
+
+
+
+ {% block title %}{{ config.title }}{% endblock title %}
+
+
+
+
+
+
+
+
+ {% block main %}
+
+ {{ page.content | safe }}
+
+ {% endblock main %}
+
+
+
+
+
diff --git a/templates/feed.xml b/templates/feed.xml
new file mode 100644
index 0000000..8f7e3de
--- /dev/null
+++ b/templates/feed.xml
@@ -0,0 +1,39 @@
+
+
+
+ {{ config.title }}
+ {%- if term %} - {{ term.name }}
+ {%- elif section.title %} - {{ section.title }}
+ {%- endif -%}
+
+
+ {%- if section -%}
+ {{ section.permalink | escape_xml | safe }}
+ {%- else -%}
+ {{ config.base_url | escape_xml | safe }}
+ {%- endif -%}
+
+ {{ config.description }}
+ Zola
+ {{ lang }}
+
+ {{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }}
+ {%- for page in pages %}
+ -
+ {{ page.title }}
+ {{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }}
+ {{ config.extra.email }} ({{ config.author }})
+ {{ page.permalink | escape_xml | safe }}
+ {{ page.permalink | escape_xml | safe }}
+
+ {% if page.summary %}
+ {{ page.summary }}
+ {% else %}
+ Reply to this post via email
]]>
+ {% endif %}
+
+
+ {%- endfor %}
+
+
+
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..2b5296d
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block og_type %}website{% endblock og_type %}
+
+{% block main %}
+
+
+ {% if website %}{% endif %}
+ {{ name | safe }}
+ {% if website %}{% endif %}
+
+
+
+
+ {{ message | safe }}
+
+ {% if reply %}
+
+
+ {{ reply | safe }}
+
+ — {{ config.extra.nickname }}
+
+
+ {% endif %}
+
diff --git a/templates/shortcodes/guestbook_form.html b/templates/shortcodes/guestbook_form.html
new file mode 100644
index 0000000..99dcf4c
--- /dev/null
+++ b/templates/shortcodes/guestbook_form.html
@@ -0,0 +1,20 @@
+