refactor(baseof): created custom head and footer js placeholders

This commit is contained in:
Russell J. Hewett committed 2019-05-30 21:29:54 -04:00
1 parent 1baceb1c62
commit 5878e91a16
5 files changed
+12 -1

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
{{/* No changes should be made to this file. */}}
{{/* Instead, create or modify your sites layout/partials/custom_head.html. */}}
{{/* This partial is included in themes/academic/layout/partials/site_head.html. */}}
+4
View File
@@ -0,0 +1,4 @@
{{/* No changes should be made to this file. */}}
{{/* Instead, create or modify your sites layout/partials/custom_js.html. */}}
{{/* This partial is included in themes/academic/layout/partials/site_js.html. */}}
View File
Whitespace-only changes.
+2 -1
View File
@@ -181,7 +181,8 @@
{{ end }}
{{ partial "cookie_consent" . }}
{{ partial "head_custom" . }}
{{ partial "custom_head" . }}
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ site.Title }}</title>
+2
View File
@@ -149,3 +149,5 @@
{{ $js_bundle := $js_bundle | resources.Concat "js/academic-bundle-pre.js" | minify }}
{{ $js_bundle := slice $js_bundle_head $js_bundle | resources.Concat "js/academic.min.js" | fingerprint "md5" }}
<script src="{{ $js_bundle.RelPermalink }}"></script>
{{ partial "custom_js" . }}