This commit is contained in:
TheTechRobo 2022-03-15 19:43:15 -04:00
commit 1a972bcf2f
5 changed files with 120 additions and 0 deletions

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
all:
make clean || echo "build folder doesn't exist"
make build
clean:
rm -Ir build
build:
mkdir build
j2 -f json index.j2 index.json > build/index.html

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# Building
```zsh
pip install j2cli
make
```

48
build/index.html Normal file
View File

@ -0,0 +1,48 @@
<!DOCTYPE html>
<head>
<title>Lifesteal SMP by TheTechRobo</title>
<style>
/* Some CSS ideas taken from the motherf*cking websites */
body {
padding-left: 30%;
line-height: 1.4;
background-color: #EEEEEE;
font-size: 16px;
max-width: 40%;
}
</style>
</head>
<body>
<header>
<h1>Lifesteal SMP by TheTechRobo</h1>
</header>
<aside>
<h2>Yes, I know this website looks like garbage</h2>
<h3><i>But I don't care</i></h3>
<p>This website may look garbage but to your browser it's candy.
<br>It uses semantic HTML5 tags so your browser knows what on Earth it's looking at.
<br>STOP USING <code>&lt;div id="content"&gt;</code> PLEASE OMG IT MAKES MY BRAIN HURT
<br></p>
<!--<cite><a href="http://motherfuckingwebsite.com/">motherf*ckingwebsite.com (contains profanity)</a></cite>-->
</aside>
<article>
<h2>IP Address: <code>play.lifesteal.thetechrobo.ca</code>
(Java 1.18.2 ONLY)
</h2>
<h2>Recommended Mods.</h2>
<p>Minecraft has a number of flaws. <a href="https://modrinth.com/mod/purpurclient">Purpur Client</a> solves many of these problems.</p>
<h2>Server Details</h2>
<dl>
<dt>Server</dt>
<dd>Purpur 1.18.2</dd>
<dt>Plugins</dt>
<dd>
Lifesteal Plugin (created by TheTechRobo)
</dd>
<dt>Whitelist</dt>
<dd><span style="color: red;"><b>On</b></span> (<a href="/serverfiles/whitelist">check</a>)</dd>
</dl>
</body>

53
index.j2 Normal file
View File

@ -0,0 +1,53 @@
<!DOCTYPE html>
<head>
<title>Lifesteal SMP by TheTechRobo</title>
<style>
/* Some CSS ideas taken from the motherf*cking websites */
body {
padding-left: 30%;
line-height: 1.4;
background-color: #EEEEEE;
font-size: 16px;
max-width: 40%;
}
</style>
</head>
<body>
<h1>
TODO: MOVE TO HUGO
</h1>
<header>
<h1>Lifesteal SMP by TheTechRobo</h1>
</header>
<aside>
<h2>Yes, I know this website looks like garbage</h2>
<h3><i>But I don't care</i></h3>
<p>This website may look garbage but to your browser it's candy.
<br>It uses semantic HTML5 tags so your browser knows what on Earth it's looking at.
<br>STOP USING <code>&lt;div id="content"&gt;</code> PLEASE OMG IT MAKES MY BRAIN HURT
<br></p>
<!--<cite><a href="http://motherfuckingwebsite.com/">motherf*ckingwebsite.com (contains profanity)</a></cite>-->
</aside>
<article>
<h2>IP Address: <code>play.lifesteal.thetechrobo.ca</code>
{% if onlyjava %}
(Java {{ mcversion }} ONLY)
{% else %}
(Java + Bedrock {{mcversion}}
{% endif %}
</h2>
<h2>Recommended Mods.</h2>
<p>Minecraft has a number of flaws. <a href="https://modrinth.com/mod/purpurclient">Purpur Client</a> solves many of these problems.</p>
<h2>Server Details</h2>
<dl>
<dt>Server</dt>
<dd>Purpur {{ mcversion }}</dd>
<dt>Plugins</dt>
<dd>
Lifesteal Plugin (created by TheTechRobo)
</dd>
<dt>Whitelist</dt>
<dd><span style="color: red;"><b>On</b></span> (<a href="/serverfiles/whitelist">check</a>)</dd>
</dl>
</body>

4
index.json Normal file
View File

@ -0,0 +1,4 @@
{
"onlyjava": true,
"mcversion": "1.18.2"
}