Merge pull request #104 from Monpoke/master

Added custom scripts at bottom of page
This commit is contained in:
Guru Sabarish
2023-08-08 08:00:19 +05:30
committed by GitHub
2 changed files with 8 additions and 1 deletions
+3
View File
@@ -392,3 +392,6 @@ params:
article: "Jan 2, 2006"
articleList: "Jan 2, 2006"
articleRecent: "Jan 2, 2006"
#customScripts: -| # You can add custom scripts which will be added before </body> tag
# <script type="text/javascript"><!-- any script here --></script>
+5 -1
View File
@@ -87,4 +87,8 @@
{{ if (.Site.Params.contact.formspree.enable | default false) }}
<script src="{{ .Site.Params.staticPath }}/js/contact.js"></script>
{{ end }}
{{ end }}
{{ if (.Site.Params.customScripts | default false) }}
{{ .Site.Params.customScripts | safeHTML }}
{{ end }}