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. 4
      layouts/partials/head.html

4
layouts/partials/head.html

@ -1,5 +1,7 @@
<head>
<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="format-detection" content="telephone=no" />
<meta name="theme-color" content="#000084" />
@ -10,4 +12,4 @@
<link rel="stylesheet" href="{{ "/css/bootstrap-responsive.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}">
<!-- <noscript><style>body { visibility: visible }</style></noscript> -->
</head>
</head>

Loading…
Cancel
Save