Add Minecraft shrine, add icons for all of them

This commit is contained in:
Joshua Goins 2025-04-12 18:09:00 -04:00
parent 1befdf7c8c
commit 416e825294
10 changed files with 50 additions and 1 deletions

BIN
assets/icons/ffxiv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
assets/icons/minecraft.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 KiB

BIN
assets/icons/trains.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

BIN
assets/icons/vrchat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

View file

@ -1,4 +1,5 @@
---
title: "Final Fantasy XIV Online"
layout: "ffxiv"
slug: "ffxiv"
---

View file

@ -0,0 +1,5 @@
---
title: "Minecraft"
layout: "minecraft"
slug: "minecraft"
---

View file

@ -1,5 +1,6 @@
---
title: "Trains"
slug: "trains"
---
I **love** trains, here's a small collection of my train-related photos. The page

View file

@ -1,4 +1,5 @@
---
title: "VRChat"
layout: "vrchat"
slug: "vrchat"
---

View file

@ -0,0 +1,35 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
<hr>
<div class="container">
<div class="box">
<h2>Mods</h2>
<ul>
<li><a href="https://code.ryne.moe/redstrate/realms-begone">Realms Begone</a>: Remove the Realms button on the Title Screen.</li>
</ul>
</div>
<div class="box">
<h2>Worlds</h2>
TODO!
</div>
</div>
<style>
.container {
display: flex;
column-gap: 15px;
}
.box {
display: block;
width: 100%;
border: 1px solid gray;
padding: 5px;
}
</style>
{{ end }}

View file

@ -6,7 +6,13 @@
<ul>
{{ range .Data.Pages.ByDate.Reverse }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
<li>
{{ $url := printf "icons/%s.png" .Slug }}
{{ with resources.Get $url }}
<img alt="Icon" width="16" height="16" src="{{ .RelPermalink }}">
{{ end }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ end }}