diff options
author | Lutong Chen <me@ertuil.top> | 2019-12-18 16:10:40 +0300 |
---|---|---|
committer | Lutong Chen <me@ertuil.top> | 2019-12-18 16:10:40 +0300 |
commit | 83e09817f12ce4858000ca8d9832a474d78fee66 (patch) | |
tree | a81ccd1a1a368cefb067b0e5c2e3e111308ec194 /layouts | |
parent | 7039bd6a40eead4d56a661e0f58eeb8bd1932326 (diff) |
4
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index be7b906..c079c4f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,12 +4,14 @@ <title>{{ .Site.Title }}{{if.Title}} - {{.Title}} {{end}}</title> + {{if .Params.tags}} <meta content="{{ delimit (union .Params.tags .Params.categories) ", " }}" name="keywords"> {{else}} <meta content="{{.Site.Title}}" name="keywords"> {{end}} <meta content="{{ .Site.Title }} - {{ or .Description .Summary (printf "A website called %s" .Site.Title)}}" name="description"> + <meta name="viewport" content="width=width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> {{ if .Site.Params.favicon }} <link rel="icon" href="{{ .Site.Params.favicon | absURL }}"> |