set default viewport for mobile

This commit is contained in:
mappu 2017-03-27 20:04:15 +13:00
parent 194c0b0405
commit 820805b063

View File

@ -13,6 +13,7 @@ func (this *App) ServePartial_Header(w http.ResponseWriter, slug string) {
<meta charset="UTF-8">
<title>`+hesc(this.cfg.AppTitle)+`</title>
<link rel="stylesheet" type="text/css" href="/style.css">
<meta viewport="width=device-width, initial-scale=1">
</head>
<body>
<h2>`+hesc(this.cfg.AppTitle)+`</h2>