~aasg/haunted-blog

406a895410f54995803f2e8c4314574608713cb4 — Aluísio Augusto Silva Gonçalves 1 year, 5 months ago fb1b7e8
Use %site-root to refer to the site root

Don't assume it is rooted at /, even though it most likely is.

At a glance, I don't think I'd have a way to use <base> without hacking
Haunt again, so for now it has to be set at build time.
1 files changed, 1 insertions(+), 1 deletions(-)

M haunt.scm
M haunt.scm => haunt.scm +1 -1
@@ 64,7 64,7 @@
                   (header
                     (nav (@ (class "links"))
                          (ul
                            (li ,(h-icon-link "signature" "/"))
                            (li ,(h-icon-link "signature" %site-root))
                            (li ,(h-icon-link "email" "mailto:aluisio@aasg.name"))
                            (li ,(h-icon-link "matrix" "https://matrix.to/#/@aasg:aasg.name"))
                            (li ,(h-icon-link "github" "https://github.com/AluisioASG"))