projects
/
geekigeeki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cda184e
)
Add meta viewport tag
author
Bernie Innocenti
<codewiz@google.com>
Sat, 27 Oct 2018 21:58:28 +0000
(06:58 +0900)
committer
Bernie Innocenti
<codewiz@google.com>
Sat, 27 Oct 2018 21:58:28 +0000
(06:58 +0900)
geekigeeki.py
patch
|
blob
|
history
diff --git
a/geekigeeki.py
b/geekigeeki.py
index 9c97fe6eda952fd1ffcf660762726138fdbd9dc6..4cb7b43c018c39e109b52fe50cdf4372f38d9b55 100755
(executable)
--- a/
geekigeeki.py
+++ b/
geekigeeki.py
@@
-647,6
+647,7
@@
class Page:
print('<!doctype html>\n<html lang="en">')
print("<head><title>%s: %s</title>" % (config_get('site_name', "Unconfigured Wiki"), text))
print(' <meta charset="utf-8">')
+ print(' <meta name="viewport" content="width=device-width, initial-scale=1.0">')
if not name:
print(' <meta name="robots" content="noindex,nofollow" />')