From ed5b95944318a1022d4347f9c456c9ad24684387 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Fri, 23 Oct 2009 23:17:20 +0200 Subject: Add an iPhone viewport specification to all HTML pages. Ignore-this: 714d683a8aabc0df4910debd90baf74d darcs-hash:2dfc0bc772831e20f3c7bb42e4962f3ade2ed659 --- journal.lisp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/journal.lisp b/journal.lisp index e9451dc..cc84b43 100755 --- a/journal.lisp +++ b/journal.lisp @@ -432,6 +432,13 @@ ;; page on a disk inconvenient. (<:meta :http-equiv "Content-Type" :content "text/html; charset=UTF-8") + ;; The iPhone's Mobile Safari browser scales all web pages by + ;; default in order to make them look as if on a PC-sized monitor. + ;; That's great for all those flashy web sites out there that aren't + ;; designed to work with small devices. It's not so great when your + ;; pages mostly consist of lots of text to read, though. Therefore, + ;; let's disable the default scaling here. + (<:meta :name "viewport" :id "iphone-viewport" :content "initial-scale=1.0") (<:title (<:as-is (if page-title -- cgit v1.2.3