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