From 13a930f33088cd748772714f804a9a6b21bd95cf Mon Sep 17 00:00:00 2001 From: Ivan Latunov Date: Fri, 9 Jun 2023 22:56:17 +0300 Subject: [PATCH] pythonliststyle: Add viewport meta tag This makes the rendered HTML appear equally-sized on both mobile and desktop displays --- pkg/httpserver/pythonliststyle.go | 1 + test/pythonliststyle_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/httpserver/pythonliststyle.go b/pkg/httpserver/pythonliststyle.go index 65c6b0a..ee6342f 100644 --- a/pkg/httpserver/pythonliststyle.go +++ b/pkg/httpserver/pythonliststyle.go @@ -17,6 +17,7 @@ const ( + Directory listing for %s diff --git a/test/pythonliststyle_test.go b/test/pythonliststyle_test.go index 1826c8e..0ee449a 100644 --- a/test/pythonliststyle_test.go +++ b/test/pythonliststyle_test.go @@ -15,6 +15,7 @@ func TestServePythonStyleHtmlPageForDirectories(t *testing.T) { + Directory listing for /