Fix as many of the HTML validation errors as possible

This commit is contained in:
Lewis Dale 2023-11-28 21:16:07 +00:00
parent fb94864b15
commit 54657cac84

View File

@ -1,7 +1,7 @@
<!doctype html>
<html lang="{{metadata.site.language}}">
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8" >
<title>{{ title | safe }} | {{ metadata.site.name }}</title>
<link
@ -9,37 +9,37 @@
type="image/png"
href="/assets/favicon/light/favicon.ico"
media="(prefers-color-scheme: light)"
/>
>
<link
rel="icon"
type="image/png"
href="/assets/favicon/dark/favicon.ico"
media="(prefers-color-scheme: dark)"
/>
<link rel="stylesheet" type="text/css" href="/assets/css/fontawesome.min.css" />
>
<link rel="stylesheet" type="text/css" href="/assets/css/fontawesome.min.css">
{% if includePrism %}
<link rel="stylesheet" type="text/css" href="/assets/css/prism.min.css" />
<link rel="stylesheet" type="text/css" href="/assets/css/prism.min.css">
{% endif %}
<link rel="stylesheet" type="text/css" href="/assets/css/styles.css" />
<link rel="stylesheet" type="text/css" href="/assets/css/styles.css">
{% if feed %}
<link rel="alternate" type="application/rss+xml" title="LewisDale.Dev" href="{{ feed }}" />
<link rel="alternate" type="application/atom+xml" title="LewisDale.Dev Atom Feed" href="{{ feed }}atom" />
<link rel="alternate" type="application/json" title="LewisDale.Dev JSON Feed" href="{{ feed }}json" />
<link rel="alternate" type="application/rss+xml" title="LewisDale.Dev" href="{{ feed }}">
<link rel="alternate" type="application/atom+xml" title="LewisDale.Dev Atom Feed" href="{{ feed }}atom">
<link rel="alternate" type="application/json" title="LewisDale.Dev JSON Feed" href="{{ feed }}json">
{% else %}
<link rel="alternate" type="application/rss+xml" title="LewisDale.Dev" href="/feed/" />
<link rel="alternate" type="application/atom+xml" title="LewisDale.Dev Atom Feed" href="/feed/atom" />
<link rel="alternate" type="application/json" title="LewisDale.Dev JSON Feed" href="/feed/json" />
<link rel="alternate" type="application/rss+xml" title="LewisDale.Dev" href="/feed/">
<link rel="alternate" type="application/atom+xml" title="LewisDale.Dev Atom Feed" href="/feed/atom">
<link rel="alternate" type="application/json" title="LewisDale.Dev JSON Feed" href="/feed/json">
{% endif %}
<link rel="me" href="proven.lol/f730ca" />
<link rel="me" href="https://social.lewisdale.dev/@lewis" />
<link rel="me" href="https://github.com/LewisDaleUK" />
<link rel="me" href="proven.lol/f730ca">
<link rel="me" href="https://social.lewisdale.dev/@lewis">
<link rel="me" href="https://github.com/LewisDaleUK">
<link rel="webmention" href="https://cms.lewisdale.dev/wp-json/webmention/1.0/endpoint" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="eleventy" />
<link rel="webmention" href="https://cms.lewisdale.dev/wp-json/webmention/1.0/endpoint">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="eleventy">
<meta name="author" content="{{ metadata.author.name }}" />
<meta name="description" content="{{ description }}" />
<meta name="author" content="{{ metadata.author.name }}">
<meta name="description" content="{{ description }}">
</head>
<body>
<header class="wrapper-lg row space-between">
@ -65,11 +65,11 @@
<fieldset class="color-scheme">
<legend>Change your colour scheme</legend>
<label>
<input type="radio" name="color-scheme" value="dark" />
<input type="radio" name="color-scheme" value="dark">
Dark
</label>
<label>
<input type="radio" name="color-scheme" value="light" />
<input type="radio" name="color-scheme" value="light">
Light
</label>
</fieldset>
@ -80,7 +80,7 @@
</footer>
<script type="text/javascript">
<script>
const defaultColourScheme = () => {
if (localStorage.getItem('color-scheme')) {
return localStorage.getItem('color-scheme');