shithub: rgbds

Download patch

ref: 6889334521a973fa304d82778b7532300ed5512b
parent: d1e82e50cbbd6701832e66d70bb7ee3a48db266e
author: ISSOtm <[email protected]>
date: Mon Mar 23 10:38:01 EDT 2020

Add viewport tag for mobile users

--- a/src/doc_postproc.awk
+++ b/src/doc_postproc.awk
@@ -78,3 +78,8 @@
 {
 	print
 }
+
+/<head>/ {
+	# Add viewport size <meta> tag for mobile users
+	print "  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">"
+}