Add Footer
This commit is contained in:
parent
55894d9366
commit
74ca8aaf52
2 changed files with 11 additions and 0 deletions
|
@ -39,3 +39,10 @@ html
|
||||||
* ul li a "Home", href: "/"
|
* ul li a "Home", href: "/"
|
||||||
* main
|
* main
|
||||||
* content slots, data
|
* content slots, data
|
||||||
|
* ->
|
||||||
|
if #slots.footer > 0
|
||||||
|
footer class: "box"
|
||||||
|
* gridBox columns: math.min(#slots.footer, 3), class: 'content-padding'
|
||||||
|
* slots.footer
|
||||||
|
else
|
||||||
|
{}
|
||||||
|
|
|
@ -48,6 +48,10 @@ slots.banner aside class: { 'box' }
|
||||||
]]
|
]]
|
||||||
* p i "Thank you."
|
* p i "Thank you."
|
||||||
|
|
||||||
|
slots.footer aside id: "contact"
|
||||||
|
* p raw "Got feedback?<br>Tag me on fedi!"
|
||||||
|
* a "@darkwiiplayer@tech.lgbt", href: 'https://tech.lgbt/@darkwiiplayer'
|
||||||
|
|
||||||
return (=>@)
|
return (=>@)
|
||||||
* article
|
* article
|
||||||
* slots.title
|
* slots.title
|
||||||
|
|
Loading…
Reference in a new issue