mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 22:16:07 +01:00
This seems to mostly work! It's configured to work with Agate, and I haven't figured out the deploy mechanism yet — but it's a start!
3 lines
208 B
Text
3 lines
208 B
Text
{{- $url := printf "https://www.youtube.com/watch?v=%s" (.Get 0) -}}
|
|
{{- $ref := partial "reference.obj" (dict "url" $url "references" .Page.Params.references)}}
|
|
=> {{$url}} {{ with $ref }}{{.name}}{{ end }}
|