all: Moved to using site-inator to build the site

This commit is contained in:
Yuki Joou 2023-08-16 19:36:21 +02:00
parent 6508182f2a
commit 8b6cf1db9b
8 changed files with 150 additions and 144 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
public/
*~

2
site-config Normal file
View file

@ -0,0 +1,2 @@
#!/bin/bash
TITLE="yukjoou's internet homepage!"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 837 B

View file

@ -1,52 +1,19 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="yukijoou's web place" property="og:title" />
<meta
content="i'm yukijoou (ja: 雪女王), and i post things on the internet"
property="og:description"
/>
<meta content="#bad2e0" data-react-helmet="true" name="theme-color" />
<title>yukijoou's internet homepage :3</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<h1>yukijoou's homepage</h1>
<p class="subtitle">雪女王</p>
<p>
i like posting silly things on the web! you can find a bunch of
it here!
</p>
<nav id="site-navigation">
<ul>
<li><a href="/index.html">Home</a></li>
</ul>
</nav>
</header>
<main>
<h1>about me</h1> <h1>about me</h1>
<p> <p>
i'm an autistic gay trans girl who likes computers. i like old i'm an autistic gay trans girl who likes computers. i like old technologies
technologies and other stuff that doesn't work properly. and other stuff that doesn't work properly.
<br /> <br />
i'm the webmistress that runs i'm the webmistress that runs
<a href="https://kemonomimi.gay">kemonomimi.gay</a>, with the <a href="https://kemonomimi.gay">kemonomimi.gay</a>, with the help of my
help of my amazing friends :3 amazing friends :3
</p> </p>
<p> <p>
i like spending time on the internet, and seeing what the cute i like spending time on the internet, and seeing what the cute people of the
people of the fediverse post. when i'm not doing that, i like to fediverse post. when i'm not doing that, i like to write code and do silly
write code and do silly projects! <br /> projects! <br />
i also have a i also have a
<a href="https://blog.kemonomimi.gay/yukijoou/">blog</a>, though <a href="https://blog.kemonomimi.gay/yukijoou/">blog</a>, though it's quite
it's quite empty for now... empty for now...
</p> </p>
<h2>talk to me. i dare u.</h2> <h2>talk to me. i dare u.</h2>
@ -63,10 +30,9 @@
<noscript> <noscript>
<p> <p>
<b>Please enable javascript to see my email :3</b> (only <b>Please enable javascript to see my email :3</b> (only using it as
using it as an anti-scraper thing). if you really don't an anti-scraper thing). if you really don't want to, here is my
want to, here is my base64-encoded email: base64-encoded email: eXVraWpvb3VAa2Vtb25vbWltaS5nYXk=
eXVraWpvb3VAa2Vtb25vbWltaS5nYXk=
</p> </p>
</noscript> </noscript>
<script> <script>
@ -89,61 +55,35 @@
<h2>convertablet</h2> <h2>convertablet</h2>
<p> <p>
it's a dameon to get 2-in-1 laptop/tablet convertible devices to it's a dameon to get 2-in-1 laptop/tablet convertible devices to work well
work well using wlroots-based compositors on linux. for now it's using wlroots-based compositors on linux. for now it's more or less
more or less specifically made for my own lenovo miix-320icr, specifically made for my own lenovo miix-320icr, but the goal is to make it
but the goal is to make it so that all laptops that can act as so that all laptops that can act as tablets work smoothly on linux+wlroots.
tablets work smoothly on linux+wlroots.
</p> </p>
<p> <p>
currently hosted at currently hosted at
<a href="https://git.kemonomimi.gay/yukijoou/convvertablet" <a href="https://git.kemonomimi.gay/yukijoou/convvertablet"
>yukijoou/convertablet</a >yukijoou/convertablet</a
>, no proper documentation yet, but if you want to get it >, no proper documentation yet, but if you want to get it working on your
working on your device, please get in touch! i'll be more than device, please get in touch! i'll be more than happy to make it work, and
happy to make it work, and will include support for your device will include support for your device once i get it in a working state!
once i get it in a working state!
</p> </p>
<h2>kemonomimi.gay</h2> <h2>kemonomimi.gay</h2>
<p> <p>
i do sysadmin work to keep the websites and services we host i do sysadmin work to keep the websites and services we host running! most
running! most of my work is behind the scene, and shoudln't be of my work is behind the scene, and shoudln't be noticeable (i hope). at
noticeable (i hope). at some point, i want to opensource most of some point, i want to opensource most of the scripts i use to manage this
the scripts i use to manage this infrastructure so that other infrastructure so that other people can see how it all works, and be
people can see how it all works, and be inclined to selfhost inclined to selfhost their stuff ^_^
their stuff ^_^
</p> </p>
<h2>reduced motion in opensource projects</h2> <h2>reduced motion in opensource projects</h2>
<p> <p>
i'm on a crusade to get as much of the software i'm using as i'm on a crusade to get as much of the software i'm using as possible to be
possible to be reduced-motion friendly. as i'm quite reduced-motion friendly. as i'm quite motion-sensitive, i really don't like
motion-sensitive, i really don't like stuff that moves arounde stuff that moves arounde everywhere, so i try to make websites and apps not
everywhere, so i try to make websites and apps not have it when have it when the "reduced motion" setting is enabled! <br />
the "reduced motion" setting is enabled! <br /> i don't have any page where i track this sort of thing, i just mostly do
i don't have any page where i track this sort of thing, i just one-off contribution to projects and hope they accept it
mostly do one-off contribution to projects and hope they accept
it
</p> </p>
</main>
<footer>
<p>
&copy; 2023 - Yuki Joou.
<br />
This website is best viewed on the Firefox browser with the
<a href="https://brailleinstitute.org/freefont">
Atkinson Hyperlegible</a
>
font. I do not care about chromium-based browser compatibility.
<br />
<em>
My content is available under the CC0 license, unless
specified otherwise. Please consider crediting me if you use
my work.
</em>
</p>
</footer>
</body>
</html>

21
template/footer.html Normal file
View file

@ -0,0 +1,21 @@
</main>
<footer>
<p>
&copy; 2023 - Yuki Joou.
<br />
This website is best viewed on the Firefox browser with the
<a href="https://brailleinstitute.org/freefont">
Atkinson Hyperlegible</a
>
font. I do not care about chromium-based browser compatibility.
<br />
<em>
My content is available under the CC0 license, unless
specified otherwise. Please consider crediting me if you use
my work.
</em>
</p>
</footer>
</body>
</html>

33
template/header.html Normal file
View file

@ -0,0 +1,33 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="yukijoou's web place" property="og:title" />
<meta
content="i'm yukijoou (ja: 雪女王), and i post things on the internet"
property="og:description"
/>
<meta content="#bad2e0" data-react-helmet="true" name="theme-color" />
<title>[ title ]</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<h1>yukijoou's webplace</h1>
<p class="subtitle">雪女王</p>
<p>
i like posting silly things on the web! you can find a bunch of
it here!
</p>
<nav id="site-navigation">
<ul>
<li><a href="/index.html">Home</a></li>
</ul>
</nav>
</header>
<main>

View file

@ -11,11 +11,19 @@ WEBSITES_PATH="$HOME/www"
BACKUP_DIR=$(mktemp -d) BACKUP_DIR=$(mktemp -d)
SITE_INATOR=${SITE_INATOR:-site-inator}
echo "Generating pages..."
$SITE_INATOR;
exit;
cp -rf "$WEBSITES_PATH" $BACKUP_DIR/$WEBSITE_NAME.bak cp -rf "$WEBSITES_PATH" $BACKUP_DIR/$WEBSITE_NAME.bak
echo "Made backup at $BACKUP_DIR" echo "Made backup at $BACKUP_DIR"
rm -rf "$WEBSITES_PATH" rm -rf "$WEBSITES_PATH"
mkdir -p "$WEBSITES_PATH" mkdir -p "$WEBSITES_PATH"
cp -rf src/* "$WEBSITES_PATH" cp -rf public/* "$WEBSITES_PATH"
echo "Installed $WEBSITE_NAME at $WEBSITES_PATH" echo "Installed $WEBSITE_NAME at $WEBSITES_PATH"