Skip to content

Commit c83d9bc

Browse files
committed
Add viewport meta tag to prevent mobile scaling
1 parent d78d024 commit c83d9bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/Generate.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ htmlSkeleton analytics highlight title scripts =
6464
H.docTypeHtml $ do
6565
H.head $ do
6666
H.meta ! A.charset "UTF-8"
67+
H.meta ! A.name "viewport" ! A.content "width=device-width, initial-scale=1"
6768
H.title (H.toHtml title)
6869
favicon
6970
H.link ! A.rel "stylesheet" ! A.href "/assets/style.css?v=3"

0 commit comments

Comments
 (0)