From 10f804d3cc66346ed1f6b09dd97b7fbe877c4f82 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 10 Jul 2020 10:27:33 -0400 Subject: Add meta viewport tag --- html.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'html.c') diff --git a/html.c b/html.c index af1ffb2..35b9d82 100644 --- a/html.c +++ b/html.c @@ -29,6 +29,12 @@ enum kcgi_err htmlHead(struct khtmlreq *html, const char *title) { || khtml_elem(html, KELEM_TITLE) || khtml_puts(html, title) || khtml_closeelem(html, 1) + || khtml_attr( + html, KELEM_META, + KATTR_NAME, "viewport", + KATTR_CONTENT, "width=device-width, initial-scale=1.0", + KATTR__MAX + ) || khtml_attr( html, KELEM_LINK, KATTR_REL, "stylesheet", -- cgit 1.4.1 /option> dontfiles
summary refs log tree commit diff
path: root/www/text.causal.agency (unfollow)
Commit message (Collapse)Author
2024-09-08Apply some bold to trips renderingJune McEnroe
This seems easier to visually scan. The only other thing I'd like is a nicer date rendering but JavaScript is useless for that.
2024-09-08Render trips hopefully more efficientlyJune McEnroe
2024-09-08Allow removing bodies and lensesJune McEnroe
2024-09-08Limit body width so it looks less silly on desktopJune McEnroe
2024-09-07Handle no film being loadedJune McEnroe
2024-09-07Fancy up the text a littleJune McEnroe