Add attribute to provide link to video site.

This commit is contained in:
2025-12-24 15:59:51 -07:00
parent 898fb48e7b
commit 521b0a2a16
2 changed files with 8 additions and 3 deletions

View File

@@ -3,11 +3,12 @@ draft: false
pinned: false
video: true
video_url: https://odysee.com/%24/embed/%40HyperVegan%3A2%2F20251209-HyperVegan-WalkingBreathworkMeditation%3A1?r=FecAgz2kwdVny8bBBcJf5DX7YRPHDKeK
video_page: https://odysee.com/@HyperVegan:2/20251209-HyperVegan-WalkingBreathworkMeditation
video_desc:
- Walking and breathwork are both very beneficial, so how about doing both together as a form of meditation?
- Filmed, edited, and posted 2025-12-09.
feathericon: ""
title: "Walking Breathing Meditation"
title: "Walking Breathwork Meditation"
subtitle: ""
author: HyperVegan
date: "2025-12-09T10:23:00-07:00"

View File

@@ -1,12 +1,16 @@
{{ $src := .Param "video_url"
}}{{ $width := .Param "video_width" | default (.Param "odyseeVideoWidthPercentage") }}
}}{{ $width := .Param "video_width" | default (.Param "odyseeVideoWidthPercentage")
}}{{ $url := .Param "video_page"
}}
<p><a href="{{ $url }}" target="_blank" rel="noopener noreferrer">{{ $url | markdownify }}</a></p>
<iframe
id="odysee-iframe"
style="width:{{ $width }}%; aspect-ratio:16 / 9;"
src="{{ $src }}"
allowfullscreen>
</iframe>
<br>
<br/>
{{ with .Params.video_desc }}
{{ range . -}}