From 0adf1cf9a2fc3fb6e270f67166c44a587a477dc5 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Fri, 17 Mar 2023 20:17:52 +0800 Subject: some refactors --- src/_includes/layouts/base.njk | 70 ++++++++++++------------------------------ src/_includes/layouts/page.njk | 35 +++++++++++++++++++++ 2 files changed, 54 insertions(+), 51 deletions(-) create mode 100644 src/_includes/layouts/page.njk (limited to 'src/_includes') diff --git a/src/_includes/layouts/base.njk b/src/_includes/layouts/base.njk index f23e0b3..8688c95 100644 --- a/src/_includes/layouts/base.njk +++ b/src/_includes/layouts/base.njk @@ -1,53 +1,21 @@ -{% block header %} - - - - - - {{ title }} - - - - - {% endblock %} + + + + + + {{ title }} + + + + + -
-
- {% 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 -
- {% endblock %} -
+ {{ content | safe }} + {% block footer %} + + {% endblock %} -
- - \ No newline at end of file + diff --git a/src/_includes/layouts/page.njk b/src/_includes/layouts/page.njk new file mode 100644 index 0000000..7eb4218 --- /dev/null +++ b/src/_includes/layouts/page.njk @@ -0,0 +1,35 @@ +--- +layout: "layouts/base.njk" +--- + +
+
+ {{ content | safe }} +
+
+ 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 +
+
-- cgit v1.2.3