website/template/header.html

64 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<!-- JS Licese -->
<script>
/*
@licstart The following is the entire license notice for the
JavaScript code in this page.
Copyright (C) 2022 Aviv "RustyStriker" Romem
The JavaScript code in this page is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this page.
*/
</script>
<title>__PAGE TITLE__</title>
<!--Style stuff -->
<link rel="stylesheet" type="text/css" href="https://rustystriker.dev/default_style.css" media="all">
</head>
<body>
<header>
<div style="text-align:center;">
<a href = "https://rustystriker.dev/">
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
</a>
<p id="subtitle" style = "margin-top: 0px;">
A place for wanky stuff, weird JavaScript and warm-ish takes
</p>
<a href = "https://rustystriker.dev/about.html">About</a>
<a href = "https://gitea.rustystriker.dev/RustyStriker/website">Source</a>
</div>
<script>
let opts = [
"A place for wanky stuff, weird JavaScript and wam-ish takes",
"*not a graphic designer",
"Just another semi-old school website",
"This website uses absolutely no cookies",
"This website is provided as is with no warranty",
"For the best experience you might want to use Firefox/Librewolf",
"I use <a href= \"https://artixlinux.org/\" >Artix</a> btw",
"*not a good writer",
"Avoid web bloat!",
];
document.getElementById("subtitle").innerHTML = opts[Math.floor(Math.random() * opts.length)];
</script>
</header>