Some code style changes, move meta charset closer to start
This commit is contained in:
parent
07dd05797e
commit
aa2f229bff
1 changed files with 8 additions and 12 deletions
20
index.html
20
index.html
|
@ -1,6 +1,14 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<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>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'IBM Plex Serif';
|
font-family: 'IBM Plex Serif';
|
||||||
|
@ -87,14 +95,6 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
</style>
|
</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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -137,7 +137,6 @@
|
||||||
<script>
|
<script>
|
||||||
function emaildecode() {
|
function emaildecode() {
|
||||||
var emails = document.getElementsByClassName("encoded");
|
var emails = document.getElementsByClassName("encoded");
|
||||||
|
|
||||||
for (var i = 0; i < emails.length; i++) {
|
for (var i = 0; i < emails.length; i++) {
|
||||||
var b64 = emails[i].dataset.encoded;
|
var b64 = emails[i].dataset.encoded;
|
||||||
var decoded = window.atob(b64);
|
var decoded = window.atob(b64);
|
||||||
|
@ -145,15 +144,12 @@
|
||||||
emails[i].href = "mailto:" + decoded;
|
emails[i].href = "mailto:" + decoded;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function hidenojs() {
|
function hidenojs() {
|
||||||
var nojs = document.getElementsByClassName("nojs");
|
var nojs = document.getElementsByClassName("nojs");
|
||||||
|
|
||||||
for (var i = 0; i < nojs.length; i++) {
|
for (var i = 0; i < nojs.length; i++) {
|
||||||
nojs[i].style.display = "none";
|
nojs[i].style.display = "none";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
emaildecode();
|
emaildecode();
|
||||||
hidenojs();
|
hidenojs();
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue