Fixes mobile scaling with meta viewport

This commit is contained in:
Andrew Gioia 2020-07-26 10:57:42 -04:00
parent 5e4acf7808
commit e798bf3ee8
2 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
{{ block "title" . }} {{ .Site.Title }} {{ end }}
</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/css/style.css">
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}

View File

@ -11,7 +11,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"sass": "sass --no-source-map assets/scss/main.scss public/css/style.css",
"watch": "sass --no-source-map --watch assets/scss/main.scss public/css/style.css",
"publish": "cp -R public/* /var/www/blog.andrewgioia.com/*"
"publish": "cp -R public/* /var/www/blog.andrewgioia.com/"
},
"repository": {
"type": "git",