(text "{% macro footer() -%}")
(footer
("class" "flex flex-col items-center gap-2")
(hr ("style" "min-width: 20rem; margin-top: calc(var(--pad-4) * 4)"))
(div
("class" "w-full flex justify-between")
(div ("style" "width: 50px"))
(div
("class" "flex flex-col gap-2 items-center")
(div
("class" "flex gap-2 flex-wrap")
(a
("href" "/")
(text "new"))
(a
("href" "/what")
(text "what"))
(a
("href" "https://trisua.com/t/attobin")
(text "source")))
(span ("style" "font-size: 14px") ("class" "fade") (text "{{ name }}")))
; theme switches
(button
("class" "button camo fade")
("id" "switch_light")
("title" "Switch theme")
("onclick" "set_theme('Dark')")
(text ""))
(button
("class" "button camo fade hidden")
("id" "switch_dark")
("title" "Switch theme")
("onclick" "set_theme('Light')")
(text ""))))
(text "{%- endmacro %}")