aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/view
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/web/view')
-rw-r--r--guix-data-service/web/view/html.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm
index 1967247..1044a03 100644
--- a/guix-data-service/web/view/html.scm
+++ b/guix-data-service/web/view/html.scm
@@ -64,7 +64,8 @@
(define* (layout #:key
(head '())
(body '())
- (title "Guix Data Service"))
+ (title "Guix Data Service")
+ description)
`((doctype "html")
(html
(@ (lang "en"))
@@ -74,6 +75,11 @@
(content "text/html; charset=UTF-8")))
(meta (@ (name "viewport")
(content "width=device-width, initial-scale=1")))
+ ,@(if description
+ `((meta
+ (@ (name "description")
+ (content ,description))))
+ '())
(link
(@ (rel "stylesheet")
(media "screen")