From 18e71bbda1e4e8418a590a3a9490ccdaec7deba0 Mon Sep 17 00:00:00 2001 From: Rito Rhymes Date: Mon, 16 Feb 2026 15:53:27 +0000 Subject: [PATCH] gitweb: add viewport meta tag for mobile devices Without a viewport meta tag, phone browsers render gitweb at desktop width and scale the whole page down to fit the screen. Add a viewport meta tag so the layout viewport tracks device width. This is the baseline needed for mobile CSS fixes in follow-up commits. Signed-off-by: Rito Rhymes Signed-off-by: Junio C Hamano --- gitweb/gitweb.perl | 1 + 1 file changed, 1 insertion(+) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index b5490dfecf..fde804593b 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -4214,6 +4214,7 @@ sub git_header_html { + $title EOF # the stylesheet, favicon etc urls won't work correctly with path_info