commit 19da0e7e8304f57df77fb4e3deb76fbcb8dbb296 parent bbbaa94c1851483446bd23732ce7bd1e47796220 Author: Martin Ashby <martin@ashbysoft.com> Date: Sat, 14 Jan 2023 09:16:51 +0000 Move assets to assets subfolder Avoids polluting root folder with many many files Diffstat:
25 files changed, 32 insertions(+), 11 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -1 +1,2 @@ public/ +.env diff --git 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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 Binary files differ. diff --git 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 Binary files differ. diff --git 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 Binary files differ. diff --git 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 Binary files differ. diff --git a/static/reprap.jpg b/static/assets/reprap.jpg Binary files differ. diff --git a/static/skate4.mp4 b/static/assets/skate4.mp4 Binary files differ. diff --git a/static/skateboard.jpg b/static/assets/skateboard.jpg Binary files differ. diff --git a/static/unicorn.gif b/static/assets/unicorn.gif Binary files differ. diff --git a/static/unicorn1.jpg b/static/assets/unicorn1.jpg Binary files differ. diff --git a/static/unicorn2.jpg b/static/assets/unicorn2.jpg Binary files differ. diff --git 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 Binary files differ.