diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-15 22:55:05 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-15 22:55:05 +0200 |
| commit | dca88f8faf82b6fbc925afc344a07953eb2c8ca0 (patch) | |
| tree | 051f967bc4ba17c36fb9767c2031b5035d557635 /themes/danix-xyz-hacker/layouts/articles/single.html | |
| parent | b14e1db1b6bd40b401387e90af4bdd2acde41ca7 (diff) | |
| download | danixxyz-dca88f8faf82b6fbc925afc344a07953eb2c8ca0.tar.gz danixxyz-dca88f8faf82b6fbc925afc344a07953eb2c8ca0.zip | |
Resolve page bundle video paths using Resources API
- Use .Page.Resources.GetMatch to resolve video files in page bundles
- For videos in the same directory as index.md, use src="filename.webm"
- Template automatically resolves to correct permalink (/articles/slug/filename.webm)
- Falls back to literal path if resource not found (for external URLs)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/articles/single.html')
0 files changed, 0 insertions, 0 deletions
