add redirects

This commit is contained in:
Nycki 2025-03-21 13:41:03 -07:00
parent 94c4a1c674
commit 35d5a5f570
25 changed files with 73 additions and 40 deletions

View file

@ -0,0 +1,15 @@
---
layout: base.njk
# date: ''
# permalink: ''
# href: ''
---
page moved to <a href="{{ href }}">here</a>.
<script>
const queries = (window.location.search || '').slice(1).split('&');
if (queries.includes('redirect=no')) {
// do nothing
} else {
window.location.replace("{{ href }}");
}
</script>

View file

@ -2,7 +2,7 @@
layout: base.njk layout: base.njk
title: gamepad title: gamepad
description: controllers and other-type gizmos for playing videos games description: controllers and other-type gizmos for playing videos games
permalink: /p/gamepad/ permalink: /gamepad/
--- ---
{% css %} {% css %}
img { img {
@ -23,19 +23,19 @@ img {
did you know that the 8bitdo Zero Two is just the right size to use as a gameboy? this thing is tiny but you can strap it to the front of your phone with two rubber bands and hey you've got a gameboy. did you know that the 8bitdo Zero Two is just the right size to use as a gameboy? this thing is tiny but you can strap it to the front of your phone with two rubber bands and hey you've got a gameboy.
<img src="gameboymode-1.jpg" alt="a cell phone, an 8bitdo Zero Two gamepad, and a piece of 3d printed plastic" title="a cell phone, an 8bitdo Zero Two gamepad, and a piece of 3d printed plastic"> <img src="/a/gameboymode-1.jpg" alt="a cell phone, an 8bitdo Zero Two gamepad, and a piece of 3d printed plastic" title="a cell phone, an 8bitdo Zero Two gamepad, and a piece of 3d printed plastic">
except instead of two rubber bands im using [this 3d printed jig](https://www.thingiverse.com/thing:5998094) thanks to WadaKatsu on thingiverse! wow! its held on by a rubber band. except instead of two rubber bands im using [this 3d printed jig](https://www.thingiverse.com/thing:5998094) thanks to WadaKatsu on thingiverse! wow! its held on by a rubber band.
<img src="gameboymode-2.jpg"> <img src="/a/gameboymode-2.jpg">
for the software, i am using retroarch for android. i changed the menu theme to 'rgui' which is designed for small screens, and conveniently defaults to taking up just the top half of the screen, so it works perfect for this setup. for the software, i am using retroarch for android. i changed the menu theme to 'rgui' which is designed for small screens, and conveniently defaults to taking up just the top half of the screen, so it works perfect for this setup.
<img src="gameboymode-3.jpg"> <img src="/a/gameboymode-3.jpg">
for added immersion i tried a bunch of the shaders that come with retroarch and the best one is *handheld/gb-dot-matrix-DMG*, it's a beautiful replica of the pea-soup green gameboy I remember from my childhood. for added immersion i tried a bunch of the shaders that come with retroarch and the best one is *handheld/gb-dot-matrix-DMG*, it's a beautiful replica of the pea-soup green gameboy I remember from my childhood.
<img src="gameboymode-4.jpg"> <img src="/a/gameboymode-4.jpg">
games this thing runs: i mean, *all of them*, it's an emulator. but the ones I've enjoyed the most are games this thing runs: i mean, *all of them*, it's an emulator. but the ones I've enjoyed the most are

View file

@ -1,7 +1,7 @@
--- ---
layout: base.njk layout: base.njk
title: piles title: piles
permalink: /p/ permalink: /piles/
--- ---
# {{ title }} # {{ title }}
@ -9,7 +9,7 @@ when im working on things i like to make a pile for them. if the pile gets in th
ive written one pile so far ive written one pile so far
- [gamepad](gamepad) - [gamepad](/gamepad/)
and here is a pile of stuff i would like to write about: and here is a pile of stuff i would like to write about:

32
content/pyramids.md Normal file
View file

@ -0,0 +1,32 @@
---
layout: base.njk
title: Pyramides Papyrium
description: it's pronounced PEER-a-mid-es pa-PEER-ium.
permalink: /pyramids/
---
# {{ title }}
*{{ description }}*
I designed a bunch of origami pyramids and I might write about the process later but im tired so for now heres pictures of how to fold them
{% css %}
img {
max-width: 40ch;
}
{% endcss %}
![](/a/pyramides-papyrium-01.jpg)
![](/a/pyramides-papyrium-02.jpg)
![](/a/pyramides-papyrium-03.jpg)
![](/a/pyramides-papyrium-04.jpg)
![](/a/pyramides-papyrium-05.jpg)
![](/a/pyramides-papyrium-06.jpg)
![](/a/pyramides-papyrium-07.jpg)
![](/a/pyramides-papyrium-08.jpg)
![](/a/pyramides-papyrium-09.jpg)
![](/a/pyramides-papyrium-10.jpg)
![](/a/pyramides-papyrium-box-01.jpg)
![](/a/pyramides-papyrium-box-02.jpg)
ok thanks bye

View file

@ -1,32 +0,0 @@
---
layout: base.njk
title: Pyramides Papyrium
description: it's pronounced PEER-a-mid-es pa-PEER-ium.
permalink: /pyramids/
---
# {{ title }}
*{{ description }}*
I designed a bunch of origami pyramids and I might write about the process later but im tired so for now heres pictures of how to fold them
{% css %}
img {
max-width: 40ch;
}
{% endcss %}
![](pyramides-papyrium-01.jpg)
![](pyramides-papyrium-02.jpg)
![](pyramides-papyrium-03.jpg)
![](pyramides-papyrium-04.jpg)
![](pyramides-papyrium-05.jpg)
![](pyramides-papyrium-06.jpg)
![](pyramides-papyrium-07.jpg)
![](pyramides-papyrium-08.jpg)
![](pyramides-papyrium-09.jpg)
![](pyramides-papyrium-10.jpg)
![](pyramides-papyrium-box-01.jpg)
![](pyramides-papyrium-box-02.jpg)
ok thanks bye

6
content/redirect/b.md Normal file
View file

@ -0,0 +1,6 @@
---
layout: redirect
date: '2025-03-21'
permalink: /b/
href: /blog/
---

View file

@ -0,0 +1,6 @@
---
layout: redirect
date: '2025-03-21'
permalink: /p/gamepad/
href: /gamepad/
---

6
content/redirect/p.md Normal file
View file

@ -0,0 +1,6 @@
---
layout: redirect
date: '2025-03-21'
permalink: /p/
href: /piles/
---

View file

@ -129,7 +129,7 @@ export default function(eleventyConfig) {
return (new Date()).toISOString(); return (new Date()).toISOString();
}) })
eleventyConfig.addNunjucksShortcode("webButton", function (src, alt, href) { eleventyConfig.addShortcode("webButton", function (src, alt, href) {
const img = `<img src="${src}" alt="${alt}" title="${alt}" width=88 height=31 class="web-button">`; const img = `<img src="${src}" alt="${alt}" title="${alt}" width=88 height=31 class="web-button">`;
const a = href ? `<a href=${href}>${img}</a>` : img; const a = href ? `<a href=${href}>${img}</a>` : img;
return a; return a;

View file

Before

(image error) Size: 1.7 MiB

After

(image error) Size: 1.7 MiB

View file

Before

(image error) Size: 2 MiB

After

(image error) Size: 2 MiB

View file

Before

(image error) Size: 1.9 MiB

After

(image error) Size: 1.9 MiB

View file

Before

(image error) Size: 1.9 MiB

After

(image error) Size: 1.9 MiB

View file

Before

(image error) Size: 156 KiB

After

(image error) Size: 156 KiB

View file

Before

(image error) Size: 153 KiB

After

(image error) Size: 153 KiB

View file

Before

(image error) Size: 164 KiB

After

(image error) Size: 164 KiB

View file

Before

(image error) Size: 181 KiB

After

(image error) Size: 181 KiB

View file

Before

(image error) Size: 178 KiB

After

(image error) Size: 178 KiB

View file

Before

(image error) Size: 150 KiB

After

(image error) Size: 150 KiB

View file

Before

(image error) Size: 184 KiB

After

(image error) Size: 184 KiB

View file

Before

(image error) Size: 164 KiB

After

(image error) Size: 164 KiB

View file

Before

(image error) Size: 197 KiB

After

(image error) Size: 197 KiB

View file

Before

(image error) Size: 158 KiB

After

(image error) Size: 158 KiB

View file

Before

(image error) Size: 169 KiB

After

(image error) Size: 169 KiB

View file

Before

(image error) Size: 163 KiB

After

(image error) Size: 163 KiB