« get me outta code hell

zoom to 100% scale by default on mobile devices - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/upd8.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2020-06-04 15:33:11 -0300
committerFlorrie <towerofnix@gmail.com>2020-06-04 15:33:11 -0300
commitd87951fcb75cac9a13cb8613420c16675f6e50e2 (patch)
tree9a57bb94aa059ec89f19200c06c24dae2f29263b /upd8.js
parent4556e821d96d8849692d077493f5576fd4478f78 (diff)
zoom to 100% scale by default on mobile devices
Diffstat (limited to 'upd8.js')
-rw-r--r--upd8.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js
index a590423..8853988 100644
--- a/upd8.js
+++ b/upd8.js
@@ -1,7 +1,7 @@
 // HEY N8RDS!
 //
 // This is one of the 8ACKEND FILES. It's not used anywhere on the actual site
-// you are might 8e using right now.
+// you are pro8a8ly using right now.
 //
 // Specifically, this one does all the actual work of the music wiki. The
 // process looks something like this:
@@ -698,6 +698,7 @@ async function writePage(directoryParts, titleOrHead, body) {
             <head>
                 ${[
                     `<meta charset="utf-8">`,
+                    `<meta name="viewport" content="width=device-width, initial-scale=1">`,
                     (titleOrHead.split('\n').length && !titleOrHead.includes('<title>')) ? `<title>${titleOrHead}</title>` : titleOrHead,
                     directory !== C.SITE_DIRECTORY &&
                     directory !== '.' &&