From 4bc834b881fa3d563b189877fb079c852c70520e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 10 Apr 2021 16:50:03 +0200 Subject: website: Replace logos and favicon with SVG originals. --- website/haunt.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'website/haunt.scm') diff --git a/website/haunt.scm b/website/haunt.scm index 18a7b2d..6743217 100644 --- a/website/haunt.scm +++ b/website/haunt.scm @@ -45,7 +45,7 @@ (content "text/html; charset=utf-8"))) (link (@ (rel "icon") (type "image/x-icon") - (href ,(image-url "/favicon.png")))) + (href ,(image-url "/favicon.svg")))) (link (@ (rel "stylesheet") (href ,(css-url "/main.css")) (type "text/css") @@ -59,10 +59,11 @@ (div (@ (id "header-inner") (class "width-control")) (a (@ (href ,(base-url "/"))) - (img (@ (class "logo") + (img (@ (class ,(if (assoc-ref meta 'frontpage) + "logo" "logo small")) (src ,(image-url (if (assoc-ref meta 'frontpage) - "/logo.png" - "/logo-small.png")))))) + "/logo.svg" + "/logo-small.svg")))))) ,@(if (assoc-ref meta 'frontpage) '((div (@ (class "baseline")) "Software for human empowerment.")) -- cgit v1.2.1