From 2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9 Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Sun, 27 Mar 2022 19:19:28 -0700
Subject: init
---
templates/base.html | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 128 insertions(+)
create mode 100644 templates/base.html
(limited to 'templates/base.html')
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..83f5278
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,128 @@
+{% import "macros/social.html" as social_macros %}
+
+
+
+
+
+
+
+ {% block title %}{% if page.title %}{{ page.title }} | {% endif %}{{ config.title }}{% endblock title %}
+
+ {% block description %}
+ {% if page.description %}
+
+
+
+ {% else %}
+
+
+
+ {% endif %}
+ {% endblock description %}
+
+ {% if page.extra.keywords %}
+
+ {% else %}
+
+ {% endif %}
+
+
+
+
+ {% if config.extra.google %}{% endif %}
+ {% if config.extra.bing %}{% endif %}
+
+
+
+
+
+
+
+
+ {% block css %}{% endblock css %}
+
+
+ {% if config.generate_feed %}{% endif %}
+ {% block ogp_head %}
+
+ {% if page.title %}
+
+
+ {% else %}
+
+
+ {% endif %}
+
+
+
+
+ {% endblock ogp_head %}
+
+ {% block current_url %}
+ {% endblock current_url %}
+
+ {% if config.extra.social.twitter %}
+
+
+ {% endif %}
+
+ {% if page.extra.thumbnail %}
+
+
+
+ {% elif page.extra.static_thumbnail %}
+ {%if page.extra.static_thumbnail is matching("^http[s]?://") %}
+
+
+
+ {% else %}
+
+
+
+ {% endif %}
+ {% elif config.extra.default_og_image %}
+
+
+
+ {% elif config.extra.banner %}
+
+
+
+ {% else %}
+
+ {% endif %}
+
+{% block extra_head %}{% endblock extra_head %}
+
+
+{% block header %}
+
+ {% if config.extra.sitedesc %}{% if config.description %}{{ config.description }}
{% endif %}{% endif %}
+
+{% endblock header %}
+{% block content %}
+{% endblock content %}
+
+{% block footer %}{% endblock footer %}
+
+
--
cgit v1.3.1