update layouts
This commit is contained in:
@@ -49,9 +49,9 @@
|
||||
</script>
|
||||
{{- end }}
|
||||
|
||||
{{ if not (.Site.Params.navbar.disableSearch | default false) }}
|
||||
<!-- {{ if not (.Site.Params.navbar.disableSearch | default false) }}
|
||||
<script src="{{ .Site.Params.staticPath }}/js/search.js"></script>
|
||||
{{ end }}
|
||||
{{ end }} -->
|
||||
|
||||
|
||||
{{ if or (.Params.mathjax | default false) (.Site.Params.mathjax) }}
|
||||
@@ -85,8 +85,11 @@
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if (.Site.Params.contact.formspree.enable | default false) }}
|
||||
<!-- {{ if (.Site.Params.contact.formspree.enable | default false) }}
|
||||
<script src="{{ .Site.Params.staticPath }}/js/contact.js"></script>
|
||||
{{ end }} -->
|
||||
{{ if eq (getenv "HUGO_ENV") "production" }}
|
||||
<script defer data-domain="kovasky.me" src="https://plausible.agrajag.cloud/js/script.js"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ if (.Site.Params.customScripts | default false) }}
|
||||
|
||||
Reference in New Issue
Block a user