compose-theme/layouts/partials/functions/getScript.html
2024-07-26 17:08:59 +02:00

2 lines
No EOL
129 B
HTML

{{ $scriptPath := printf "js/%s.js" .slug }}
{{ return (resources.Get $scriptPath | resources.ExecuteAsTemplate $scriptPath .) }}