From 74ca8aaf52e5d3ca72c97de2d769b5c29d18c54c Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 31 Aug 2023 13:24:14 +0200 Subject: [PATCH] Add Footer --- templates/main.html.skooma.yue | 7 +++++++ templates/post.html.skooma.yue | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/templates/main.html.skooma.yue b/templates/main.html.skooma.yue index 84df929..d0a8f9e 100644 --- a/templates/main.html.skooma.yue +++ b/templates/main.html.skooma.yue @@ -39,3 +39,10 @@ html * ul li a "Home", href: "/" * main * content slots, data + * -> + if #slots.footer > 0 + footer class: "box" + * gridBox columns: math.min(#slots.footer, 3), class: 'content-padding' + * slots.footer + else + {} diff --git a/templates/post.html.skooma.yue b/templates/post.html.skooma.yue index 73b5b4a..b620f7e 100644 --- a/templates/post.html.skooma.yue +++ b/templates/post.html.skooma.yue @@ -48,6 +48,10 @@ slots.banner aside class: { 'box' } ]] * p i "Thank you." +slots.footer aside id: "contact" + * p raw "Got feedback?
Tag me on fedi!" + * a "@darkwiiplayer@tech.lgbt", href: 'https://tech.lgbt/@darkwiiplayer' + return (=>@) * article * slots.title