mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 16:14:05 +00:00
refactor(baseof): created custom head and footer js placeholders
This commit is contained in:
1 parent
1baceb1c62
commit
5878e91a16
5 files changed
+12
-1
No files matched your search
@@ -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. */}}
|
||||
@@ -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. */}}
|
||||
Whitespace-only changes.
@@ -181,7 +181,8 @@
|
||||
{{ end }}
|
||||
|
||||
{{ partial "cookie_consent" . }}
|
||||
{{ partial "head_custom" . }}
|
||||
|
||||
{{ partial "custom_head" . }}
|
||||
|
||||
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ site.Title }}</title>
|
||||
|
||||
|
||||
@@ -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" . }}
|
||||
Reference in new issue
Block a user