diff options
author | owner <bpbeatty@gmail.com> | 2020-04-12 20:32:11 +0300 |
---|---|---|
committer | owner <bpbeatty@gmail.com> | 2020-04-12 20:32:11 +0300 |
commit | 575a820df2b4a3a8c512899cbd0d292411b55d54 (patch) | |
tree | b42c1bc1eaaa5ef7aa9182330b91c2f2bbaa0ea2 | |
parent | b04c144d45ddd2390ae31d23af5b28f5c4366c29 (diff) |
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.
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 7795acb..e7a2d75 100644 --- a/layouts/partials/head.html +++ b/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>
\ No newline at end of file +</head> |