From 72eec2299707881e9e58660467e37b777b51a632 Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Mon, 17 Apr 2023 19:59:34 +0200
Subject: Initial commit
---
templates/404.html | 8 ++
templates/base.html | 39 ++++++++++
templates/favicon.html | 3 +
templates/footer.html | 3 +
templates/header.html | 4 +
templates/index.html | 7 ++
templates/nav.html | 6 ++
templates/page.html | 33 ++++++++
templates/section.html | 38 +++++++++
templates/seo_tags.html | 1 +
templates/style.html | 173 +++++++++++++++++++++++++++++++++++++++++
templates/taxonomy_list.html | 14 ++++
templates/taxonomy_single.html | 30 +++++++
13 files changed, 359 insertions(+)
create mode 100644 templates/404.html
create mode 100644 templates/base.html
create mode 100644 templates/favicon.html
create mode 100644 templates/footer.html
create mode 100644 templates/header.html
create mode 100644 templates/index.html
create mode 100644 templates/nav.html
create mode 100644 templates/page.html
create mode 100644 templates/section.html
create mode 100644 templates/seo_tags.html
create mode 100644 templates/style.html
create mode 100644 templates/taxonomy_list.html
create mode 100644 templates/taxonomy_single.html
(limited to 'templates')
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..bfb6e35
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+
+{% block title %}404{% endblock %}
+
+{% block main %}
+
404
+ʕノ•ᴥ•ʔノ ︵ ┻━┻
+{% endblock %}
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..299e92a
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+ {%- include "favicon.html" ignore missing -%}
+ {%- block title %}{{ config.title }}{%- endblock %}
+
+ {%- include "seo_tags.html" ignore missing -%}
+
+
+ {%- if config.generate_feed %}
+ {%- block rss -%}
+
+ {% endblock -%}
+ {%- endif %}
+
+ {%- include "style.html" ignore missing -%}
+
+ {%- include "custom_head.html" ignore missing -%}
+
+
+
+
+ {%- include "header.html" ignore missing -%}
+
+
+ {%- block main %}{%- endblock %}
+
+
+
+ {%- include "custom_body.html" ignore missing -%}
+
+
+
diff --git a/templates/favicon.html b/templates/favicon.html
new file mode 100644
index 0000000..51d9fbd
--- /dev/null
+++ b/templates/favicon.html
@@ -0,0 +1,3 @@
+{% if config.extra.favicon %}
+
+{%- endif %}
diff --git a/templates/footer.html b/templates/footer.html
new file mode 100644
index 0000000..97d6b89
--- /dev/null
+++ b/templates/footer.html
@@ -0,0 +1,3 @@
+{% if not config.extra.hide_made_with_line %}
+Made with Zola ʕ•ᴥ•ʔ Bear
+{% endif %}
diff --git a/templates/header.html b/templates/header.html
new file mode 100644
index 0000000..64c79f0
--- /dev/null
+++ b/templates/header.html
@@ -0,0 +1,4 @@
+
+ {{ config.title }}
+
+
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..31710be
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,7 @@
+{% extends "base.html" %}
+
+{% block main %}
+
+ {{ section.content | safe }}
+
+{% endblock %}
diff --git a/templates/nav.html b/templates/nav.html
new file mode 100644
index 0000000..135e407
--- /dev/null
+++ b/templates/nav.html
@@ -0,0 +1,6 @@
+Home
+{%- if config.extra.main_menu %}
+{%- for item in config.extra.main_menu %}
+{{ item.name }}
+{%- endfor %}
+{%- endif %}
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..bf9eca7
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+
+{% block title %}
+{{ page.title }} | {{ super() }}
+{% endblock %}
+
+{% block main %}
+{%- if not page.extra.menu %}
+{{ page.title }}
+{%- if page.date %}
+
+
+
+
+
+{%- endif %}
+{%- endif %}
+
+ {{ page.content | safe }}
+
+
+ {%- if page.taxonomies %}
+ {%- for name, taxon in page.taxonomies %}
+ {{ name | capitalize }}:
+ {%- for item in taxon %}
+ #{{ item }}
+ {%- endfor %}
+ {%- endfor %}
+ {%- endif %}
+
+{% endblock %}
diff --git a/templates/section.html b/templates/section.html
new file mode 100644
index 0000000..6801267
--- /dev/null
+++ b/templates/section.html
@@ -0,0 +1,38 @@
+{% extends "base.html" %}
+
+{% block main %}
+
+ {%- if taxonomy.term %}
+ Filtering for "{{ section.title }}"
+
+ Remove filter
+
+ {%- endif %}
+
+ {% for page in section.pages | reverse %}
+ -
+
+
+
+
+
+ {{ page.title }}
+
+ {% else %}
+ -
+ No posts yet
+
+ {% endfor %}
+
+
+
+ {% set tags = get_taxonomy(kind="tags") %}
+ {% for post in tags.items %}
+
#{{ post.name }}
+ {% endfor %}
+
+
+
+{% endblock %}
diff --git a/templates/seo_tags.html b/templates/seo_tags.html
new file mode 100644
index 0000000..88c14e0
--- /dev/null
+++ b/templates/seo_tags.html
@@ -0,0 +1 @@
+
diff --git a/templates/style.html b/templates/style.html
new file mode 100644
index 0000000..122a641
--- /dev/null
+++ b/templates/style.html
@@ -0,0 +1,173 @@
+
diff --git a/templates/taxonomy_list.html b/templates/taxonomy_list.html
new file mode 100644
index 0000000..876087c
--- /dev/null
+++ b/templates/taxonomy_list.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block main %}
+
+
+
+ {% set tags = get_taxonomy(kind="tags") %}
+ {% for post in tags.items %}
+
#{{ post.name }}
+ {% endfor %}
+
+
+
+{% endblock %}
diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html
new file mode 100644
index 0000000..685eaf5
--- /dev/null
+++ b/templates/taxonomy_single.html
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+
+{% block main %}
+
+ {%- if taxonomy.term %}
+ Filtering for "{{ term.name }}"
+
+ Remove filter
+
+ {%- endif %}
+
+ {% for page in term.pages | reverse %}
+ -
+
+
+
+
+
+ {{ page.title }}
+
+ {% else %}
+ -
+ No posts yet
+
+ {% endfor %}
+
+
+{% endblock %}
--
cgit 1.4.1