diff options
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | content/posts/2021-11-09-longboard-2.md | 3 | ||||
-rw-r--r-- | layouts/shortcodes/video.html | 5 |
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> |