Enable custom script injection

This commit is contained in:
Wooseop Kim 2020-01-15 22:43:52 +09:00
parent 48233660d8
commit b264945121

View File

@ -15,5 +15,10 @@
<script src="{{ "assets/main.js" | absURL }}"></script>
<script src="{{ "assets/prism.js" | absURL }}"></script>
<!-- Custom script to add features (/static/script.js) -->
{{ if (fileExists "static/script.js") -}}
<script src="{{ "script.js" | absURL }}"></script>
{{- end }}
<!-- Extended footer section-->
{{ partial "extended_footer.html" . }}