Some code style changes, move meta charset closer to start

This commit is contained in:
Rupus Reinefjord 2021-01-30 12:57:41 +01:00
parent 07dd05797e
commit aa2f229bff

View file

@ -1,6 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="icon" type="image/png" href="/favicon.png" sizes="196x196">
<title>Rupus Reinefjord</title>
<style>
@font-face {
font-family: 'IBM Plex Serif';
@ -87,14 +95,6 @@
text-align: center;
}
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="icon" type="image/png" href="/favicon.png" sizes="196x196">
<title>Rupus Reinefjord</title>
</head>
<body>
@ -137,7 +137,6 @@
<script>
function emaildecode() {
var emails = document.getElementsByClassName("encoded");
for (var i = 0; i < emails.length; i++) {
var b64 = emails[i].dataset.encoded;
var decoded = window.atob(b64);
@ -145,15 +144,12 @@
emails[i].href = "mailto:" + decoded;
}
}
function hidenojs() {
var nojs = document.getElementsByClassName("nojs");
for (var i = 0; i < nojs.length; i++) {
nojs[i].style.display = "none";
}
}
emaildecode();
hidenojs();
</script>