Skip to content

Commit

Permalink
Add viewport meta tag (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
terror authored Aug 17, 2022
1 parent eb8c7c5 commit 623a554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/subcommand/server/templates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ mod tests {
<head>
<meta charset=utf-8>
<meta name=format-detection content='telephone=no'>
<meta name=viewport content='width=device-width,initial-scale=1.0'>
<title>Foo</title>
<link href=/static/index.css rel=stylesheet>
</head>
Expand Down
1 change: 1 addition & 0 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset=utf-8>
<meta name=format-detection content='telephone=no'>
<meta name=viewport content='width=device-width,initial-scale=1.0'>
<title>{{ self.content.title() }}</title>
<link href=/static/index.css rel=stylesheet>
</head>
Expand Down

0 comments on commit 623a554

Please sign in to comment.