From 86efdd0afb6219298ee7625e73dc1cb6004b7ca4 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 19 Jul 2024 21:10:35 -0400 Subject: split up templates --- templates/partials/footer.html | 3 +++ templates/partials/head.html | 20 ++++++++++++++++++++ templates/partials/nav.html | 9 +++++++++ 3 files changed, 32 insertions(+) create mode 100644 templates/partials/footer.html create mode 100644 templates/partials/head.html create mode 100644 templates/partials/nav.html (limited to 'templates/partials') diff --git a/templates/partials/footer.html b/templates/partials/footer.html new file mode 100644 index 0000000..122766f --- /dev/null +++ b/templates/partials/footer.html @@ -0,0 +1,3 @@ + diff --git a/templates/partials/head.html b/templates/partials/head.html new file mode 100644 index 0000000..5b1dcf6 --- /dev/null +++ b/templates/partials/head.html @@ -0,0 +1,20 @@ + + + + + + {% if page.title %} + {{ page.title }} :: {{ config.title }} + {% elif section.title %} + {{ section.title }} :: {{ config.title }} + {% else %} + {{ config.title }} + {% endif %} + {% if page.description %} + + {% elif section.description %} + + {% else %} + + {% endif %} + diff --git a/templates/partials/nav.html b/templates/partials/nav.html new file mode 100644 index 0000000..e65db1d --- /dev/null +++ b/templates/partials/nav.html @@ -0,0 +1,9 @@ + -- cgit v1.2.3