add front matter script code

This commit is contained in:
Sam 2024-09-10 09:13:47 +01:00
parent c1805b2926
commit 4179b09e61
1 changed files with 3 additions and 0 deletions

View File

@ -5,3 +5,6 @@
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
</div> </div>
</body> </body>
{{ if .Params.script }}
<script src="{{ .Params.script | absURL }}"></script>
{{ end }}