1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-13 05:45:31 -04:00

if multiple of the same shortcode are used, only load scripts once

This commit is contained in:
2019-12-15 23:11:18 -05:00
parent 951c5f2c3f
commit fa98e48664
13 changed files with 37 additions and 18 deletions

View File

@@ -5,11 +5,12 @@
{{ partial "head" . }}
</head>
<body>
{{ block "header" . }}{{ partial "header" . }}{{ end }}
{{ partial "header" . }}
<div id="wrap">
{{ block "main" . }}{{ end }}
</div>
{{ block "footer" . }}{{ partial "footer" . }}{{ end }}
{{ partial "footer" . }}
{{ partial "scripts" . }}
</body>
</html>