summaryrefslogtreecommitdiff
path: root/theme.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2024-07-08 19:09:24 -0400
committerDavid Thompson <dthompson2@worcester.edu>2024-07-08 19:09:24 -0400
commit86b5bbdd05881b612783069367b10125c28bfdee (patch)
tree83e985a95a91e22f9a72ebfcef68327883261e56 /theme.scm
parentb7170b01b47a825d9de5664a0e8865ee5f655908 (diff)
Improve rendering on mobile by setting page width to device width.
Diffstat (limited to 'theme.scm')
-rw-r--r--theme.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/theme.scm b/theme.scm
index 5dd8e5f..10a6ccc 100644
--- a/theme.scm
+++ b/theme.scm
@@ -53,6 +53,8 @@
`((doctype "html")
(head
(meta (@ (charset "utf-8")))
+ (meta (@ (name "viewport")
+ (content "width=device-width, initial-scale=1")))
(title ,(string-append title " — " (site-title site)))
(link (@ (rel "alternate")
(type "application/atom+xml")