layout: set the viewport meta tag

Co-Authored-by: Igor Milhit <igor@milhit.ch>
pull/31/head
iGor milhit 2019-08-08 21:53:45 +02:00
parent 909c3caa97
commit 2c7e6cf2d7
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 1 additions and 4 deletions

View File

@ -1,14 +1,11 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="{{ .Site.BaseURL }}"> <base href="{{ .Site.BaseURL }}">
<title>{{ .Title }} | {{ .Site.Title }}</title> <title>{{ .Title }} | {{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}"> <link rel="canonical" href="{{ .Permalink }}">
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}style.css"> <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}style.css">
{{ with .OutputFormats.Get "RSS" }} {{ with .OutputFormats.Get "RSS" }}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end }} {{ end }}
</head> </head>