aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin@ashbysoft.com <martin@ashbysoft.com>2021-11-10 19:38:20 +0000
committermartin@ashbysoft.com <martin@ashbysoft.com>2021-11-10 19:38:20 +0000
commit9ca6c9fc02bcd644bbce29f73a9c4789c555c51b (patch)
tree77736223aefd62ac49f4c407d8e048ba0ac20fb1
parentdabd33961964ee2099fdcda3ece83724f663ec62 (diff)
downloadmfashby.net-9ca6c9fc02bcd644bbce29f73a9c4789c555c51b.tar.gz
mfashby.net-9ca6c9fc02bcd644bbce29f73a9c4789c555c51b.tar.bz2
mfashby.net-9ca6c9fc02bcd644bbce29f73a9c4789c555c51b.tar.xz
mfashby.net-9ca6c9fc02bcd644bbce29f73a9c4789c555c51b.zip
Added short video of longboarding
-rw-r--r--.gitattributes1
-rw-r--r--content/posts/2021-11-09-longboard-2.md3
-rw-r--r--layouts/shortcodes/video.html5
3 files changed, 8 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..f8ff2b5
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.mp4 filter=lfs diff=lfs merge=lfs -text
diff --git a/content/posts/2021-11-09-longboard-2.md b/content/posts/2021-11-09-longboard-2.md
index 5affca6..54f5489 100644
--- a/content/posts/2021-11-09-longboard-2.md
+++ b/content/posts/2021-11-09-longboard-2.md
@@ -10,4 +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!
-Pictures and videos to follow.
+{{< video src="/10-11-21-longboard-slides.mp4" type="video/mp4" preload="auto" >}}
+
diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html
new file mode 100644
index 0000000..eba4d66
--- /dev/null
+++ b/layouts/shortcodes/video.html
@@ -0,0 +1,5 @@
+<video class="video-shortcode" preload="{{ .Get "preload" }}" controls>
+ <source src="{{ .Get "src" }}" type="{{ .Get "type" }}">
+ There should have been a video here but your browser does not seem
+ to support it.
+</video>