Skip to content

Commit d156716

Browse files
committed
gitweb: add viewport meta tag for mobile devices
Signed-off-by: Rito Rhymes <rito@ritovision.com>
1 parent b2826b5 commit d156716

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gitweb/gitweb.perl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4214,6 +4214,7 @@ sub git_header_html {
42144214
<head>
42154215
<meta name="generator" content="gitweb/$version git/$git_version$mod_perl_version"/>
42164216
<meta name="robots" content="index, nofollow"/>
4217+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
42174218
<title>$title</title>
42184219
EOF
42194220
# the stylesheet, favicon etc urls won't work correctly with path_info

0 commit comments

Comments
 (0)