Compare commits

..

2 Commits

Author SHA1 Message Date
0cc3d44fab Add the video_page attribute. 2025-12-24 16:01:30 -07:00
521b0a2a16 Add attribute to provide link to video site. 2025-12-24 15:59:51 -07:00
3 changed files with 12 additions and 6 deletions

View File

@@ -3,9 +3,10 @@ draft: true
pinned: false pinned: false
hidden: false hidden: false
audio: false audio: false
video: false video: false # Auto-generates a video post.
video_url: "" video_url: "" # Link for embedded playback.
video_desc: video_page: "" # Link to post page.
video_desc: # List of video description paragraphs.
- -
title: "{{ replace .Name "-" " " | title }}" title: "{{ replace .Name "-" " " | title }}"
subtitle: "" subtitle: ""

View File

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

View File

@@ -1,12 +1,16 @@
{{ $src := .Param "video_url" {{ $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 <iframe
id="odysee-iframe" id="odysee-iframe"
style="width:{{ $width }}%; aspect-ratio:16 / 9;" style="width:{{ $width }}%; aspect-ratio:16 / 9;"
src="{{ $src }}" src="{{ $src }}"
allowfullscreen> allowfullscreen>
</iframe> </iframe>
<br> <br/>
{{ with .Params.video_desc }} {{ with .Params.video_desc }}
{{ range . -}} {{ range . -}}