website/index.j2

70 lines
2.0 KiB
Django/Jinja

<!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 beautiful.
<br>It uses semantic HTML5 tags so your browser knows what on Earth it's looking at.
<br>(If I'm being a hypocrite and there's something wrong with the HTML, send a pull request.)
<br><aside style="padding-left: 10%;"><i><sub>at least it's not using <code>&lt;div id="content"&gt;</code> oh god</sub></i></aside>
</p>
<!--<cite><a href="http://motherfuckingwebsite.com/">motherf*ckingwebsite.com (contains profanity)</a></cite>-->
</aside>
<main>
<h2>IP Address: <code>{{ ipee }}</code>
{% if onlyjava %}
(Java {{ mcversion }} ONLY)
{% else %}
(Java + Bedrock {{mcversion}}
{% endif %}
</h2>
<h2>Recommended Mods.</h2>
<p>{{ recommods }}</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>
<dt>Completely open-source?</dt>
<dd><a href="http://thetechrobo.ca:3000/smp"><span style="color: green;"><b>Yes</b></span></a></dd>
</dl>
</main>
<section>
{% if blog.posts is defined %}
<ul>
{% for post in blog.posts %}
<li>
<details><summary>{{ post.title }} ( {{ post.date }} )</summary>
{{ post.data }}
</details>
</li>
{% endfor %}
</ul>
{% else %}
<b>No blog posts to see here.</b>
{% endif %}
</body>