summaryrefslogtreecommitdiffstats
path: root/haunt.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-04-10 16:50:03 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-04-10 16:50:03 +0200
commit6725586f4f953248895c4f7d86acd159997119e6 (patch)
treea3788e09657ee747bf4154e845308eb2d5dc386b /haunt.scm
parentAdd skeleton of a Haunt web site. (diff)
website: Replace logos and favicon with SVG originals.
Diffstat (limited to 'haunt.scm')
-rw-r--r--haunt.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/haunt.scm b/haunt.scm
index 18a7b2d..6743217 100644
--- a/haunt.scm
+++ b/haunt.scm
@@ -45,7 +45,7 @@
45 (content "text/html; charset=utf-8"))) 45 (content "text/html; charset=utf-8")))
46 (link (@ (rel "icon") 46 (link (@ (rel "icon")
47 (type "image/x-icon") 47 (type "image/x-icon")
48 (href ,(image-url "/favicon.png")))) 48 (href ,(image-url "/favicon.svg"))))
49 (link (@ (rel "stylesheet") 49 (link (@ (rel "stylesheet")
50 (href ,(css-url "/main.css")) 50 (href ,(css-url "/main.css"))
51 (type "text/css") 51 (type "text/css")
@@ -59,10 +59,11 @@
59 (div (@ (id "header-inner") 59 (div (@ (id "header-inner")
60 (class "width-control")) 60 (class "width-control"))
61 (a (@ (href ,(base-url "/"))) 61 (a (@ (href ,(base-url "/")))
62 (img (@ (class "logo") 62 (img (@ (class ,(if (assoc-ref meta 'frontpage)
63 "logo" "logo small"))
63 (src ,(image-url (if (assoc-ref meta 'frontpage) 64 (src ,(image-url (if (assoc-ref meta 'frontpage)
64 "/logo.png" 65 "/logo.svg"
65 "/logo-small.png")))))) 66 "/logo-small.svg"))))))
66 ,@(if (assoc-ref meta 'frontpage) 67 ,@(if (assoc-ref meta 'frontpage)
67 '((div (@ (class "baseline")) 68 '((div (@ (class "baseline"))
68 "Software for human empowerment.")) 69 "Software for human empowerment."))