aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-01-14 09:16:51 +0000
committerMartin Ashby <martin@ashbysoft.com>2023-01-14 09:16:51 +0000
commit19da0e7e8304f57df77fb4e3deb76fbcb8dbb296 (patch)
treed4bd9f7cb1508a1a7a84f90cfed2bf412c5cc736
parentbbbaa94c1851483446bd23732ce7bd1e47796220 (diff)
downloadmfashby.net-19da0e7e8304f57df77fb4e3deb76fbcb8dbb296.tar.gz
mfashby.net-19da0e7e8304f57df77fb4e3deb76fbcb8dbb296.tar.bz2
mfashby.net-19da0e7e8304f57df77fb4e3deb76fbcb8dbb296.tar.xz
mfashby.net-19da0e7e8304f57df77fb4e3deb76fbcb8dbb296.zip
Move assets to assets subfolder
Avoids polluting root folder with many many files
-rw-r--r--.gitignore1
-rw-r--r--Caddyfile20
-rw-r--r--content/posts/2018-06-01-mailu.md2
-rw-r--r--content/posts/2018-06-02-unicornpaint.md2
-rw-r--r--content/posts/2021-09-19-longboard-setup.md2
-rw-r--r--content/posts/2021-09-29-bike.md2
-rw-r--r--content/posts/2021-11-09-longboard-2.md2
-rw-r--r--content/posts/2022-04-30-longboard-3.md4
-rw-r--r--content/posts/2022-10-09-skateboard-1.md4
-rw-r--r--content/posts/2022-12-20-longboard-5.md2
-rw-r--r--static/assets/10-11-21-longboard-slides.mp4 (renamed from static/10-11-21-longboard-slides.mp4)bin45783829 -> 45783829 bytes
-rw-r--r--static/assets/apex_1.jpg (renamed from static/apex_1.jpg)bin2177140 -> 2177140 bytes
-rw-r--r--static/assets/apex_2.jpg (renamed from static/apex_2.jpg)bin2513595 -> 2513595 bytes
-rw-r--r--static/assets/bike.jpg (renamed from static/bike.jpg)bin464079 -> 464079 bytes
-rw-r--r--static/assets/drop-in.mp4 (renamed from static/drop-in.mp4)bin1573234 -> 1573234 bytes
-rw-r--r--static/assets/longboard.jpg (renamed from static/longboard.jpg)bin2711396 -> 2711396 bytes
-rw-r--r--static/assets/mailu_screenshot.png (renamed from static/mailu_screenshot.png)bin146724 -> 146724 bytes
-rw-r--r--static/assets/reprap.jpg (renamed from static/reprap.jpg)bin642610 -> 642610 bytes
-rw-r--r--static/assets/skate4.mp4 (renamed from static/skate4.mp4)bin22065301 -> 22065301 bytes
-rw-r--r--static/assets/skateboard.jpg (renamed from static/skateboard.jpg)bin2989138 -> 2989138 bytes
-rw-r--r--static/assets/unicorn.gif (renamed from static/unicorn.gif)bin1564408 -> 1564408 bytes
-rw-r--r--static/assets/unicorn1.jpg (renamed from static/unicorn1.jpg)bin992877 -> 992877 bytes
-rw-r--r--static/assets/unicorn2.jpg (renamed from static/unicorn2.jpg)bin1374406 -> 1374406 bytes
-rw-r--r--static/assets/unicorn3.jpg (renamed from static/unicorn3.jpg)bin1449703 -> 1449703 bytes
-rw-r--r--static/assets/unicorn_small.gif (renamed from static/unicorn_small.gif)bin25003 -> 25003 bytes
25 files changed, 31 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 364fdec..e292d34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
public/
+.env
diff --git a/Caddyfile b/Caddyfile
index cef71f9..7287822 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,6 +1,26 @@
http://localhost:8080 {
root * public
+
+ # API server
reverse_proxy /api/* localhost:5678
+
+ # Redirects for old assets
+ redir /10-11-21-longboard-slides.mp4 /assets/10-11-21-longboard-slides.mp4 permanent
+ redir /apex_1.jpg /assets/apex_1.jpg permanent
+ redir /apex_2.jpg /assets/apex_2.jpg permanent
+ redir /bike.jpg /assets/bike.jpg permanent
+ redir /drop-in.mp4 /assets/drop-in.mp4 permanent
+ redir /longboard.jpg /assets/longboard.jpg permanent
+ redir /mailu_screenshot.png /assets/mailu_screenshot.png permanent
+ redir /reprap.jpg /assets/reprap.jpg permanent
+ redir /skate4.mp4 /assets/skate4.mp4 permanent
+ redir /skateboard.jpg /assets/skateboard.jpg permanent
+ redir /unicorn1.jpg /assets/unicorn1.jpg permanent
+ redir /unicorn2.jpg /assets/unicorn2.jpg permanent
+ redir /unicorn3.jpg /assets/unicorn3.jpg permanent
+ redir /unicorn.gif /assets/unicorn.gif permanent
+ redir /unicorn_small.gif /assets/unicorn_small.gif permanent
+
file_server
}
diff --git a/content/posts/2018-06-01-mailu.md b/content/posts/2018-06-01-mailu.md
index 415cc20..628e64f 100644
--- a/content/posts/2018-06-01-mailu.md
+++ b/content/posts/2018-06-01-mailu.md
@@ -6,7 +6,7 @@ date: 2018-06-01 20:17:00 +0100
## My search for an email server
-![Rainloop Screenshot](/mailu_screenshot.png)
+![Rainloop Screenshot](/assets/mailu_screenshot.png)
A big theme in the news recently is data protection, how your personal data is being used (and abused), and taking back control of your data. Part of the problem is that people's personal data is kept in huge private corporate networks, and historically companies have been able to do (essentially) whatever they like with it. I started investigating how difficult it would be to really re-take control of my personal data - beginning with my email.
diff --git a/content/posts/2018-06-02-unicornpaint.md b/content/posts/2018-06-02-unicornpaint.md
index d17122f..9c11e8a 100644
--- a/content/posts/2018-06-02-unicornpaint.md
+++ b/content/posts/2018-06-02-unicornpaint.md
@@ -6,6 +6,6 @@ date: 2018-06-02 22:33:00 +0100
See [unicornpaint] for details. I'll write about this later...
-![animated image](/unicorn.gif)
+![animated image](/assets/unicorn.gif)
[unicornpaint]:https://unicorn.mfashby.net
diff --git a/content/posts/2021-09-19-longboard-setup.md b/content/posts/2021-09-19-longboard-setup.md
index 48de977..e8ed98d 100644
--- a/content/posts/2021-09-19-longboard-setup.md
+++ b/content/posts/2021-09-19-longboard-setup.md
@@ -4,7 +4,7 @@ date: 2021-09-19T10:20:49+01:00
draft: false
---
-![Longboard](/longboard.jpg)
+![Longboard](/assets/longboard.jpg)
I recently picked up longboarding. I enjoy snowboarding, but in the current pandemic + climate change it's looking less sustainable as a hobby, so I'm learning downhill longboarding.
diff --git a/content/posts/2021-09-29-bike.md b/content/posts/2021-09-29-bike.md
index 3ac0661..ff6e853 100644
--- a/content/posts/2021-09-29-bike.md
+++ b/content/posts/2021-09-29-bike.md
@@ -12,4 +12,4 @@ For my daughter, I fitted an [Oxford little explorer](https://www.argos.co.uk/pr
Probably the next thing I'll need to upgrade are some lights. I bought some small silicone ones but these quickly died as they allowed water into the battery compartment. I'll likely get some helmet mounted ones as well as ones for the actual bike, and reflective strips for the back seat to try to maximise visibility. After that I would also like to upgrade the brakes. I've got rim-brakes with fairly large pads, but something with a bit more stopping power would be nice.
-![Bike](/bike.jpg)
+![Bike](/assets/bike.jpg)
diff --git a/content/posts/2021-11-09-longboard-2.md b/content/posts/2021-11-09-longboard-2.md
index 54f5489..d198304 100644
--- a/content/posts/2021-11-09-longboard-2.md
+++ b/content/posts/2021-11-09-longboard-2.md
@@ -10,5 +10,5 @@ I've also made a couple of hardware changes
- switched to [powell peralta snakes](https://newtons-shred.co.uk/shop/skateboards/wheels/cruiser-filmer/powell-peralta-snakes-red-66mm-75a/), following many many reviews on [reddit](https://teddit.net/r/longboarding)
- added [freebrake brake soles](https://newtons-shred.co.uk/shop/safety/other/footbraking-sole/freebrake-longboard-skateboard-footbraking-sole-4mm-pair/) to my shoes. I had nearly worn through the heel and toe on my right foot from frequent braking. These appear to be up-cycled car tyres!
-{{< video src="/10-11-21-longboard-slides.mp4" type="video/mp4" preload="auto" >}}
+{{< video src="/assets/10-11-21-longboard-slides.mp4" type="video/mp4" preload="auto" >}}
diff --git a/content/posts/2022-04-30-longboard-3.md b/content/posts/2022-04-30-longboard-3.md
index 0b18e50..01f6e5e 100644
--- a/content/posts/2022-04-30-longboard-3.md
+++ b/content/posts/2022-04-30-longboard-3.md
@@ -16,6 +16,6 @@ This particular board has caliber II (reverse king pin) trucks. I've swapped the
Much more importantly, I've found a fellow longboarder to skate with, and a couple of new spots nearby. Videos to follow!
-![Apex Diamond Drop Top](/apex_1.jpg)
-![Apex Diamond Drop Bottom](/apex_2.jpg)
+![Apex Diamond Drop Top](/assets/apex_1.jpg)
+![Apex Diamond Drop Bottom](/assets/apex_2.jpg)
diff --git a/content/posts/2022-10-09-skateboard-1.md b/content/posts/2022-10-09-skateboard-1.md
index e417cc6..f65454a 100644
--- a/content/posts/2022-10-09-skateboard-1.md
+++ b/content/posts/2022-10-09-skateboard-1.md
@@ -12,5 +12,5 @@ I went through several sets of bushings until finally settling on [bones hardcor
Finally; I bought a skate-tool. Previously I'd been carrying a socket-wrench around in my bag, and it wasn't super convenient. The skate tool fits in my pocket so I can pack lighter :)
-![Skateboard](/skateboard.jpg)
-{{< video src="/drop-in.mp4" type="video/mp4" preload="auto" >}} \ No newline at end of file
+![Skateboard](/assets/skateboard.jpg)
+{{< video src="/assets/drop-in.mp4" type="video/mp4" preload="auto" >}} \ No newline at end of file
diff --git a/content/posts/2022-12-20-longboard-5.md b/content/posts/2022-12-20-longboard-5.md
index 9e9176c..a7a1152 100644
--- a/content/posts/2022-12-20-longboard-5.md
+++ b/content/posts/2022-12-20-longboard-5.md
@@ -8,6 +8,6 @@ I've been stuck inside with the cold weather recently. However, I've also discov
Here's a little clip:
-{{< video src="/skate4.mp4" type="video/mp4" preload="auto" >}}
+{{< video src="/assets/skate4.mp4" type="video/mp4" preload="auto" >}}
Which is my attempt at a [cross-step](https://www.ampskate.com/tricks/cross-step). My goal is to learn the [ghostride kickflip](https://www.ampskate.com/tricks/ghostride-kickflip). \ No newline at end of file
diff --git a/static/10-11-21-longboard-slides.mp4 b/static/assets/10-11-21-longboard-slides.mp4
index 50152b8..50152b8 100644
--- a/static/10-11-21-longboard-slides.mp4
+++ b/static/assets/10-11-21-longboard-slides.mp4
Binary files differ
diff --git a/static/apex_1.jpg b/static/assets/apex_1.jpg
index 8b6e9b5..8b6e9b5 100644
--- a/static/apex_1.jpg
+++ b/static/assets/apex_1.jpg
Binary files differ
diff --git a/static/apex_2.jpg b/static/assets/apex_2.jpg
index bf8f46a..bf8f46a 100644
--- a/static/apex_2.jpg
+++ b/static/assets/apex_2.jpg
Binary files differ
diff --git a/static/bike.jpg b/static/assets/bike.jpg
index 5a867bd..5a867bd 100644
--- a/static/bike.jpg
+++ b/static/assets/bike.jpg
Binary files differ
diff --git a/static/drop-in.mp4 b/static/assets/drop-in.mp4
index 7b07ab5..7b07ab5 100644
--- a/static/drop-in.mp4
+++ b/static/assets/drop-in.mp4
Binary files differ
diff --git a/static/longboard.jpg b/static/assets/longboard.jpg
index cde2a9d..cde2a9d 100644
--- a/static/longboard.jpg
+++ b/static/assets/longboard.jpg
Binary files differ
diff --git a/static/mailu_screenshot.png b/static/assets/mailu_screenshot.png
index 97541cc..97541cc 100644
--- a/static/mailu_screenshot.png
+++ b/static/assets/mailu_screenshot.png
Binary files differ
diff --git a/static/reprap.jpg b/static/assets/reprap.jpg
index f6ca8dd..f6ca8dd 100644
--- a/static/reprap.jpg
+++ b/static/assets/reprap.jpg
Binary files differ
diff --git a/static/skate4.mp4 b/static/assets/skate4.mp4
index f557355..f557355 100644
--- a/static/skate4.mp4
+++ b/static/assets/skate4.mp4
Binary files differ
diff --git a/static/skateboard.jpg b/static/assets/skateboard.jpg
index 6b109e0..6b109e0 100644
--- a/static/skateboard.jpg
+++ b/static/assets/skateboard.jpg
Binary files differ
diff --git a/static/unicorn.gif b/static/assets/unicorn.gif
index 5dab1c7..5dab1c7 100644
--- a/static/unicorn.gif
+++ b/static/assets/unicorn.gif
Binary files differ
diff --git a/static/unicorn1.jpg b/static/assets/unicorn1.jpg
index e44bf60..e44bf60 100644
--- a/static/unicorn1.jpg
+++ b/static/assets/unicorn1.jpg
Binary files differ
diff --git a/static/unicorn2.jpg b/static/assets/unicorn2.jpg
index ff64679..ff64679 100644
--- a/static/unicorn2.jpg
+++ b/static/assets/unicorn2.jpg
Binary files differ
diff --git a/static/unicorn3.jpg b/static/assets/unicorn3.jpg
index aff166a..aff166a 100644
--- a/static/unicorn3.jpg
+++ b/static/assets/unicorn3.jpg
Binary files differ
diff --git a/static/unicorn_small.gif b/static/assets/unicorn_small.gif
index 4334034..4334034 100644
--- a/static/unicorn_small.gif
+++ b/static/assets/unicorn_small.gif
Binary files differ