Blog posts support WIP
This commit is contained in:
parent
1a972bcf2f
commit
d42ba23c94
|
@ -20,13 +20,13 @@ body {
|
|||
<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.
|
||||
<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>STOP USING <code><div id="content"></code> PLEASE OMG IT MAKES MY BRAIN HURT
|
||||
<br></p>
|
||||
<br><aside style="padding-left: 10%;"><i><sub>at least it's not using <code><div id="content"></code> oh god</sub></i></aside>
|
||||
</p>
|
||||
<!--<cite><a href="http://motherfuckingwebsite.com/">motherf*ckingwebsite.com (contains profanity)</a></cite>-->
|
||||
</aside>
|
||||
<article>
|
||||
<main>
|
||||
<h2>IP Address: <code>play.lifesteal.thetechrobo.ca</code>
|
||||
|
||||
(Java 1.18.2 ONLY)
|
||||
|
@ -45,4 +45,16 @@ body {
|
|||
<dt>Whitelist</dt>
|
||||
<dd><span style="color: red;"><b>On</b></span> (<a href="/serverfiles/whitelist">check</a>)</dd>
|
||||
</dl>
|
||||
</main>
|
||||
|
||||
<section>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/psots/hello-world">Hello, World!</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
|
|
25
index.j2
25
index.j2
|
@ -14,22 +14,19 @@ body {
|
|||
</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.
|
||||
<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>STOP USING <code><div id="content"></code> PLEASE OMG IT MAKES MY BRAIN HURT
|
||||
<br></p>
|
||||
<br><aside style="padding-left: 10%;"><i><sub>at least it's not using <code><div id="content"></code> oh god</sub></i></aside>
|
||||
</p>
|
||||
<!--<cite><a href="http://motherfuckingwebsite.com/">motherf*ckingwebsite.com (contains profanity)</a></cite>-->
|
||||
</aside>
|
||||
<article>
|
||||
<main>
|
||||
<h2>IP Address: <code>play.lifesteal.thetechrobo.ca</code>
|
||||
{% if onlyjava %}
|
||||
(Java {{ mcversion }} ONLY)
|
||||
|
@ -50,4 +47,18 @@ body {
|
|||
<dt>Whitelist</dt>
|
||||
<dd><span style="color: red;"><b>On</b></span> (<a href="/serverfiles/whitelist">check</a>)</dd>
|
||||
</dl>
|
||||
</main>
|
||||
|
||||
<section>
|
||||
{% if blog.posts is defined %}
|
||||
<ul>
|
||||
{% for post in blog.posts %}
|
||||
<li>
|
||||
<a href="{{ post.permalink }}">{{ post.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<b>No blog posts to see here.</b>
|
||||
{% endif %}
|
||||
</body>
|
||||
|
|
12
index.json
12
index.json
|
@ -1,4 +1,12 @@
|
|||
{
|
||||
"onlyjava": true,
|
||||
"mcversion": "1.18.2"
|
||||
"onlyjava": true,
|
||||
"mcversion": "1.18.2",
|
||||
"blog": {
|
||||
"posts": [
|
||||
{
|
||||
"title": "Hello, World!",
|
||||
"permalink": "/psots/hello-world"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue