Compare commits
1 commit
main
...
theme-head
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e928d01e34 |
2 changed files with 17 additions and 7 deletions
17
layouts/_partials/head/scripts.html
Normal file
17
layouts/_partials/head/scripts.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{{ if eq .Name "Contact" }}
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script
|
||||
id="zammad_form_script"
|
||||
src="https://help.sr2.uk/assets/form/form.js"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
$("#zammad-feedback-form").ZammadForm({
|
||||
agreementMessage: {{ site.Params.feedback.agreementMessage }},
|
||||
messageSubmit:{{ site.Params.feedback.messageSubmit }},
|
||||
messageThankYou:{{ site.Params.feedback.messageThankYou }},
|
||||
showTitle: false,
|
||||
noCSS: true,
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"associatedApplications": [
|
||||
{
|
||||
"applicationId": "1eb4853c-f999-4763-85b5-8d9bd0035bc0"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue