From c6bd71c54903d4533af4ba75d3ef0c7f84a63add Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 17 Mar 2023 08:17:50 -0400 Subject: chore: refactor layouts happy now ryan? --- src/_includes/layouts/base.njk | 56 +++++++++++++---------------------------- src/_includes/layouts/index.njk | 28 +++++++++++++++++++++ 2 files changed, 45 insertions(+), 39 deletions(-) create mode 100644 src/_includes/layouts/index.njk (limited to 'src/_includes') diff --git a/src/_includes/layouts/base.njk b/src/_includes/layouts/base.njk index 5040fe4..ba0fca3 100644 --- a/src/_includes/layouts/base.njk +++ b/src/_includes/layouts/base.njk @@ -10,46 +10,24 @@ {% endblock %} - {% block body %} - + + {% block container %}
-
- {% block content %} - {{ content | safe }} - {% endblock %} -
- {% block footer %} -
- - legalize now! - acab - powered by fedora - let's crush capitalism! -
best viewed with any browser - weezer fan - play with steam - made with vi - pride - imagination -
mozilla is cool - completely free software - graphics by gimp - marijuana mind explorer - javascript free - keep the web free! say no to web3! - tired - hey arnold! - powered by bob - counter-strike player - chris troll + {% block body %} +
+ {% block content %} + {{ content | safe }} + {% endblock %}
{% endblock %} -
- - {% endblock %} -
- + {% endblock %} +
+
+ + \ No newline at end of file diff --git a/src/_includes/layouts/index.njk b/src/_includes/layouts/index.njk new file mode 100644 index 0000000..858569a --- /dev/null +++ b/src/_includes/layouts/index.njk @@ -0,0 +1,28 @@ +{% extends "_includes/layouts/base.njk" %} +{% block body %} + {{ super () }} +
+ + legalize now! + acab + powered by fedora + let's crush capitalism! +
best viewed with any browser + weezer fan + play with steam + made with vi + pride + imagination +
mozilla is cool + completely free software + graphics by gimp + marijuana mind explorer + javascript free + keep the web free! say no to web3! + tired + hey arnold! + powered by bob + counter-strike player + chris troll +
+{% endblock %} \ No newline at end of file -- cgit v1.2.3