jyosei-guide/layouts/shortcodes/track-link.html

4 lines
162 B
HTML
Raw Normal View History

2022-08-04 20:14:25 +08:00
{{- with .Get 0 -}}
{{- $resource := resources.Get . -}}
<a href="{{ $resource.Permalink }}">音轨 {{ path.BaseName . | strings.TrimPrefix "0" }}</a>
{{- end -}}