add partial for optionally embedding javascript code via 2nd-level theme

This commit is contained in:
Helmut Merz 2023-02-15 19:20:01 +01:00
parent 4a9e6d9faa
commit 856c6bb7ab
2 changed files with 1 additions and 0 deletions

View file

@ -24,6 +24,7 @@
</div> </div>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
<script src="{{ .Site.BaseURL }}js/bootstrap.bundle.min.js"></script> <script src="{{ .Site.BaseURL }}js/bootstrap.bundle.min.js"></script>
{{ partial "js.html" . }}
{{ block "appjs" . }} {{ end }} {{ block "appjs" . }} {{ end }}
</body> </body>
</html> </html>

0
layouts/partials/js.html Normal file
View file