]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
page.tmpl: tell mobile browsers we have a responsive layout, unless told not to
authorSimon McVittie <smcv@debian.org>
Wed, 26 Nov 2014 00:02:55 +0000 (00:02 +0000)
committerSimon McVittie <smcv@debian.org>
Mon, 1 Dec 2014 21:29:46 +0000 (21:29 +0000)
commitceab72ad341bb216467a3bdaf6ee0a32be99de02
treeea27cb07caa6eaf0b56a485cd967241d3ab3026c
parent5fe28eb4c29cb31bd6293beb67cccc9b01e967ec
page.tmpl: tell mobile browsers we have a responsive layout, unless told not to

Mobile browsers typically assume that arbitrary web pages are
designed for a "desktop-sized" browser window (around 1000px)
and display that layout, zoomed out, in order to avoid breaking
naive designs that assume nobody will ever look at a website on
a phone or something. People who are actually doing "responsive
design" need to opt-in to mobile browsers rendering it at a
more normal size.
IkiWiki.pm
IkiWiki/Render.pm
templates/page.tmpl