From 620dca355d69f3dee1abff05f832c557b74bafce Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 19 Apr 2022 20:57:28 -0700 Subject: refactor(templates): move templates --- content/templates/main.hbs | 5 +++++ content/templates/partials/footer.hbs | 27 +++++++++++++++++++++++++++ content/templates/partials/header.hbs | 10 ++++++++++ templates/main.hbs | 5 ----- templates/partials/footer.hbs | 27 --------------------------- templates/partials/header.hbs | 10 ---------- yarte.toml | 2 +- 7 files changed, 43 insertions(+), 43 deletions(-) create mode 100644 content/templates/main.hbs create mode 100644 content/templates/partials/footer.hbs create mode 100644 content/templates/partials/header.hbs delete mode 100644 templates/main.hbs delete mode 100644 templates/partials/footer.hbs delete mode 100644 templates/partials/header.hbs diff --git a/content/templates/main.hbs b/content/templates/main.hbs new file mode 100644 index 0000000..ef1743d --- /dev/null +++ b/content/templates/main.hbs @@ -0,0 +1,5 @@ +{{> partials/header }} + +{{{ body }}} + +{{> partials/footer }} diff --git a/content/templates/partials/footer.hbs b/content/templates/partials/footer.hbs new file mode 100644 index 0000000..031c519 --- /dev/null +++ b/content/templates/partials/footer.hbs @@ -0,0 +1,27 @@ +## QUICK LINKS + +=> / Home +=> /skills Skills +=> /interests Interests +=> /contact Contact +=> /donate Donate +=> /gemini Gemini +=> /gopher Gopher +=> /blog Blog +=> gemini://gem.rest GemRest + +## FOOTER + +> {{{ quote }}} + +Hits: {{ hits }} + +> Any and all opinions listed here are my own and not representative of my employers; past, present, and future. + +=> https://github.com/gemrest/locus{{{ commit }}} Source Code ({{{ mini_commit }}}) +=> http://fuwnme4wbs5x36jjf2usedw2zscozwhazykhyfkjsmudtb7egs3mb7yd.onion Tor +=> http://fuwn.i2p/?i2paddresshelper=farkjfnlz6grt55rupbabuhfkvhi7pivwdfwztgcxdklh3db3mfq.b32.i2p I2P + +Copyright (C) 2021-2022 Fuwn + +=> /licensing Further and more explicit licensing terms can be found here diff --git a/content/templates/partials/header.hbs b/content/templates/partials/header.hbs new file mode 100644 index 0000000..a52a042 --- /dev/null +++ b/content/templates/partials/header.hbs @@ -0,0 +1,10 @@ +``` +______ +| ___| +| |_ _ ___ ___ __ ___ _ __ __ _ ___ ___ +| _| | | \ \ /\ / / '_ \ / __| '_ \ / _` |/ __/ _ \ +| | | |_| |\ V V /| | | |_\__ \ |_) | (_| | (_| __/ +\_| \__,_| \_/\_/ |_| |_(_)___/ .__/ \__,_|\___\___| + | | + |_| +``` diff --git a/templates/main.hbs b/templates/main.hbs deleted file mode 100644 index ef1743d..0000000 --- a/templates/main.hbs +++ /dev/null @@ -1,5 +0,0 @@ -{{> partials/header }} - -{{{ body }}} - -{{> partials/footer }} diff --git a/templates/partials/footer.hbs b/templates/partials/footer.hbs deleted file mode 100644 index 031c519..0000000 --- a/templates/partials/footer.hbs +++ /dev/null @@ -1,27 +0,0 @@ -## QUICK LINKS - -=> / Home -=> /skills Skills -=> /interests Interests -=> /contact Contact -=> /donate Donate -=> /gemini Gemini -=> /gopher Gopher -=> /blog Blog -=> gemini://gem.rest GemRest - -## FOOTER - -> {{{ quote }}} - -Hits: {{ hits }} - -> Any and all opinions listed here are my own and not representative of my employers; past, present, and future. - -=> https://github.com/gemrest/locus{{{ commit }}} Source Code ({{{ mini_commit }}}) -=> http://fuwnme4wbs5x36jjf2usedw2zscozwhazykhyfkjsmudtb7egs3mb7yd.onion Tor -=> http://fuwn.i2p/?i2paddresshelper=farkjfnlz6grt55rupbabuhfkvhi7pivwdfwztgcxdklh3db3mfq.b32.i2p I2P - -Copyright (C) 2021-2022 Fuwn - -=> /licensing Further and more explicit licensing terms can be found here diff --git a/templates/partials/header.hbs b/templates/partials/header.hbs deleted file mode 100644 index a52a042..0000000 --- a/templates/partials/header.hbs +++ /dev/null @@ -1,10 +0,0 @@ -``` -______ -| ___| -| |_ _ ___ ___ __ ___ _ __ __ _ ___ ___ -| _| | | \ \ /\ / / '_ \ / __| '_ \ / _` |/ __/ _ \ -| | | |_| |\ V V /| | | |_\__ \ |_) | (_| | (_| __/ -\_| \__,_| \_/\_/ |_| |_(_)___/ .__/ \__,_|\___\___| - | | - |_| -``` diff --git a/yarte.toml b/yarte.toml index 69f4476..17c5ecc 100644 --- a/yarte.toml +++ b/yarte.toml @@ -1,2 +1,2 @@ [main] -dir = "templates" +dir = "content/templates" -- cgit v1.2.3