updated to use the injector
This commit is contained in:
parent
5d1dce366f
commit
018772f321
5 changed files with 11 additions and 346 deletions
69
404.html
69
404.html
|
@ -1,53 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<INJECT>cat $HOME/template/header.html | sed "s/__PAGE TITLE__/404 - Page not found/"</INJECT>
|
||||||
<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>404 - Page not found</title>
|
|
||||||
|
|
||||||
<!--Style stuff -->
|
|
||||||
<link rel="stylesheet" type="text/css" href="default_style.css" media="all">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<div>
|
|
||||||
<a href = "https://rustystriker.dev/">
|
|
||||||
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
|
|
||||||
</a>
|
|
||||||
<p 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>
|
|
||||||
<a href = "https://rustystriker.dev/licenses.html">Licenses</a>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
<h1>
|
<h1>
|
||||||
404 - Page not found
|
404 - Page not found
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -66,21 +18,4 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
<INJECT>cat $HOME/template/footer.html</INJECT>
|
||||||
<p>
|
|
||||||
Copyright (C) 2022 Aviv "RustyStriker" Romem |
|
|
||||||
Except where otherwise noted.
|
|
||||||
<br>
|
|
||||||
works and publications on this website are licenced under
|
|
||||||
<a href = "https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
|
|
||||||
<br>
|
|
||||||
Codes are published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPL v3 or later</a>
|
|
||||||
and JavaScript is also published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/gpl-3.0.html">GNU GPL v3 or later</a>
|
|
||||||
| Except where otherwise noted.
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
69
about.html
69
about.html
|
@ -1,53 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<INJECT>cat $HOME/template/header.html | sed "s/__PAGE TITLE__/About/"</INJECT>
|
||||||
<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>About</title>
|
|
||||||
|
|
||||||
<!--Style stuff -->
|
|
||||||
<link rel="stylesheet" type="text/css" href="default_style.css" media="all">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<div>
|
|
||||||
<a href = "https://rustystriker.dev/">
|
|
||||||
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
|
|
||||||
</a>
|
|
||||||
<p 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>
|
|
||||||
<a href = "https://rustystriker.dev/licenses.html">Licenses</a>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
<h1>
|
<h1>
|
||||||
About
|
About
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -87,21 +39,4 @@
|
||||||
I thought I will have more to write here(as of 14/5/22)...
|
I thought I will have more to write here(as of 14/5/22)...
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<footer>
|
<INJECT>cat $HOME/template/footer.html</INJECT>
|
||||||
<p>
|
|
||||||
Copyright (C) 2022 Aviv "RustyStriker" Romem |
|
|
||||||
Except where otherwise noted.
|
|
||||||
<br>
|
|
||||||
works and publications on this website are licenced under
|
|
||||||
<a href = "https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
|
|
||||||
<br>
|
|
||||||
Codes are published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPL v3 or later</a>
|
|
||||||
and JavaScript is also published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/gpl-3.0.html">GNU GPL v3 or later</a>
|
|
||||||
| Except where otherwise noted.
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -1,54 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<INJECT>cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Rusty's website/"</INJECT>
|
||||||
<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>Links are stupid</title>
|
|
||||||
|
|
||||||
<!--Style stuff -->
|
|
||||||
<link rel="stylesheet" type="text/css" href="default_style.css" media="all">
|
|
||||||
</head>
|
|
||||||
<body onscroll="onBodyScroll()">
|
|
||||||
<header>
|
|
||||||
<div>
|
|
||||||
<a href = "https://rustystriker.dev/">
|
|
||||||
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
|
|
||||||
</a>
|
|
||||||
<p 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>
|
|
||||||
<a href = "https://rustystriker.dev/licenses.html">Licenses</a>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Oh good, the last page got really crowded,
|
Oh good, the last page got really crowded,
|
||||||
ok, back to the nonsense!
|
ok, back to the nonsense!
|
||||||
|
@ -162,24 +112,9 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
|
||||||
<p>
|
|
||||||
Copyright (C) 2022 Aviv "RustyStriker" Romem |
|
|
||||||
Except where otherwise noted.
|
|
||||||
<br>
|
|
||||||
works and publications on this website are licenced under
|
|
||||||
<a href = "https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
|
|
||||||
<br>
|
|
||||||
Codes are published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPL v3 or later</a>
|
|
||||||
and JavaScript is also published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/gpl-3.0.html">GNU GPL v3 or later</a>
|
|
||||||
| Except where otherwise noted.
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
<script>
|
<script>
|
||||||
var needToAnimateImage = true;
|
var needToAnimateImage = true;
|
||||||
|
document.body.onscroll = onBodyScroll;
|
||||||
function onBodyScroll() {
|
function onBodyScroll() {
|
||||||
let scrollPercent = document.body.scrollTop / document.body.scrollTopMax;
|
let scrollPercent = document.body.scrollTop / document.body.scrollTopMax;
|
||||||
if (needToAnimateImage) {
|
if (needToAnimateImage) {
|
||||||
|
@ -197,4 +132,5 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</html>
|
|
||||||
|
<INJECT>cat $HOME/template/footer.html</INJECT>
|
68
index.html
68
index.html
|
@ -1,53 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<INJECT>cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Rusty's website/"</INJECT>
|
||||||
<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>Rusty Striker's Awesome Website</title>
|
|
||||||
|
|
||||||
<!--Style stuff -->
|
|
||||||
<link rel="stylesheet" type="text/css" href="default_style.css" media="all">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<div>
|
|
||||||
<a href = "https://rustystriker.dev/">
|
|
||||||
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
|
|
||||||
</a>
|
|
||||||
<p 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>
|
|
||||||
<a href = "https://rustystriker.dev/licenses.html">Licenses</a>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
<h1>
|
<h1>
|
||||||
Welcome, to my WEBSITE!
|
Welcome, to my WEBSITE!
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -140,22 +92,6 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
|
||||||
<p>
|
|
||||||
Copyright (C) 2022 Aviv "RustyStriker" Romem |
|
|
||||||
Except where otherwise noted.
|
|
||||||
<br>
|
|
||||||
works and publications on this website are licenced under
|
|
||||||
<a href = "https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
|
|
||||||
<br>
|
|
||||||
Codes are published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPL v3 or later</a>
|
|
||||||
and JavaScript is also published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/gpl-3.0.html">GNU GPL v3 or later</a>
|
|
||||||
| Except where otherwise noted.
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function onCoolButtonClick() {
|
function onCoolButtonClick() {
|
||||||
|
@ -208,4 +144,4 @@
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</html>
|
<INJECT>cat $HOME/template/footer.html</INJECT>
|
|
@ -1,77 +0,0 @@
|
||||||
<!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="default_style.css" media="all">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<div>
|
|
||||||
<a href = "https://rustystriker.dev/">
|
|
||||||
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
|
|
||||||
</a>
|
|
||||||
<p 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>
|
|
||||||
<a href = "https://rustystriker.dev/licenses.html">Licenses</a>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
<h1>
|
|
||||||
Template page
|
|
||||||
</h1>
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
This is my template page, filled with a license, header and footer
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
<p>
|
|
||||||
Copyright (C) 2022 Aviv "RustyStriker" Romem |
|
|
||||||
Except where otherwise noted.
|
|
||||||
<br>
|
|
||||||
works and publications on this website are licenced under
|
|
||||||
<a href = "https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
|
|
||||||
<br>
|
|
||||||
Codes are published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/agpl-3.0.html">GNU AGPL v3 or later</a>
|
|
||||||
and JavaScript is also published under
|
|
||||||
<a href = "https://www.gnu.org/licenses/gpl-3.0.html">GNU GPL v3 or later</a>
|
|
||||||
| Except where otherwise noted.
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
Loading…
Reference in a new issue