diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2009-10-23 23:17:20 +0200 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2009-10-23 23:17:20 +0200 |
commit | ed5b95944318a1022d4347f9c456c9ad24684387 (patch) | |
tree | d8a0313b4317f8d43513eb753fc38299ff48043e | |
parent | 2cf3ee034b1b63993d337ff1b3f40d0a191c0103 (diff) |
Add an iPhone viewport specification to all HTML pages.
Ignore-this: 714d683a8aabc0df4910debd90baf74d
darcs-hash:2dfc0bc772831e20f3c7bb42e4962f3ade2ed659
-rwxr-xr-x | journal.lisp | 7 |
1 files changed, 7 insertions, 0 deletions
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 |