Browse Source

Adds character encoding of HTML docs

Resolves error in HTML:
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol.
pull/1/head
owner 5 years ago
parent
commit
575a820df2
No known key found for this signature in database GPG Key ID: 8038BA2C07AF5CCB
  1. 2
      layouts/partials/head.html

2
layouts/partials/head.html

@ -1,5 +1,7 @@
<head> <head>
<title>{{ .Site.Title }}</title> <title>{{ .Site.Title }}</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no" /> <meta name="format-detection" content="telephone=no" />
<meta name="theme-color" content="#000084" /> <meta name="theme-color" content="#000084" />

Loading…
Cancel
Save