fix: move meta charset to first position in head (W3C validator)
Build & Deploy / build-and-deploy (push) Successful in 1m58s
Build & Deploy / build-and-deploy (push) Successful in 1m58s
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ site.locale | default('en') }}">
|
<html lang="{{ site.locale | default('en') }}">
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
|
||||||
<script>const q = new URLSearchParams(window.location.search), r = document.referrer, n = i => i ? 'http://' + i.replace(/^(https?:\/\/)?(www\.)?/, '').split('/')[0].replace(/[^a-zA-Z0-9.-]/g, '') : ''; Object.defineProperty(document, "referrer", { get: () => n(q.get('ref') || q.get('referer') || q.get('referrer') || q.get('utm_source')) || r });</script>
|
<script>const q = new URLSearchParams(window.location.search), r = document.referrer, n = i => i ? 'http://' + i.replace(/^(https?:\/\/)?(www\.)?/, '').split('/')[0].replace(/[^a-zA-Z0-9.-]/g, '') : ''; Object.defineProperty(document, "referrer", { get: () => n(q.get('ref') || q.get('referer') || q.get('referrer') || q.get('utm_source')) || r });</script>
|
||||||
|
|
||||||
@@ -90,7 +91,6 @@
|
|||||||
to bypass Eleventy 3.x parallel rendering race condition (#3183).
|
to bypass Eleventy 3.x parallel rendering race condition (#3183).
|
||||||
Template outputs __OG_IMAGE_PLACEHOLDER__ and __TWITTER_CARD_PLACEHOLDER__
|
Template outputs __OG_IMAGE_PLACEHOLDER__ and __TWITTER_CARD_PLACEHOLDER__
|
||||||
which the transform replaces using the correct slug derived from outputPath. #}
|
which the transform replaces using the correct slug derived from outputPath. #}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="generator" content="Eleventy">
|
<meta name="generator" content="Eleventy">
|
||||||
<title>{% if title %}{{ title }} - {% endif %}{{ site.name }}</title>
|
<title>{% if title %}{{ title }} - {% endif %}{{ site.name }}</title>
|
||||||
|
|||||||
Reference in New Issue
Block a user