projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5bc2f5
)
include search-scripts partial if SITE_SEARCH_PROVIDER env var is set
author
Dan Allen
<dan@opendevise.com>
Sun, 19 Dec 2021 08:19:27 +0000
(
01:19
-0700)
committer
Dan Allen
<dan@opendevise.com>
Sun, 19 Dec 2021 08:19:27 +0000
(
01:19
-0700)
src/partials/footer-scripts.hbs
patch
|
blob
|
history
diff --git
a/src/partials/footer-scripts.hbs
b/src/partials/footer-scripts.hbs
index
d106cd3
..
266a3ed
100644
(file)
--- a/
src/partials/footer-scripts.hbs
+++ b/
src/partials/footer-scripts.hbs
@@
-1,2
+1,5
@@
<script src="{{{uiRootPath}}}/js/site.js"></script>
<script async src="{{{uiRootPath}}}/js/vendor/highlight.js"></script>
+{{#if env.SITE_SEARCH_PROVIDER}}
+{{> search-scripts}}
+{{/if}}