add contact form and allow custom iframes
All checks were successful
Hugo / build (push) Successful in 12s

This commit is contained in:
brooke 2024-07-15 13:17:27 -04:00
parent 9152c8838d
commit e6caa137ca
4 changed files with 35 additions and 7 deletions

View file

@ -1,6 +1,31 @@
--- ---
date: '2024-05-22T12:47:43-04:00' date: '2024-05-22T12:47:43-04:00'
title: 'Contact Us' title: 'Contact Us'
contact: true
frame: |
<div class="hb-p-63600b340347a10007ba5bcb-1"></div>
<img
height="1"
width="1"
style="display: none"
src="https://www.honeybook.com/p.png?pid=63600b340347a10007ba5bcb"
/>
<script>
(function (h, b, s, n, i, p, e, t) {
h._HB_ = h._HB_ || {};
h._HB_.pid = i;
t = b.createElement(s);
t.type = "text/javascript";
t.async = !0;
t.src = n;
e = b.getElementsByTagName(s)[0];
e.parentNode.insertBefore(t, e);
})(
window,
document,
"script",
"https://widget.honeybook.com/assets_users_production/websiteplacements/placement-controller.min.js",
"63600b340347a10007ba5bcb"
);
</script>
--- ---

View file

@ -7,12 +7,12 @@
{{ partial "metadata.html" . }} {{ partial "metadata.html" . }}
<div class="mt-2 flex flex-col gap-4">{{ .Content }}</div> <div class="mt-2 flex flex-col gap-4">{{ .Content }}</div>
{{ partial "buttons.html" . }} {{ if .Params.catalog }} {{ partial {{ partial "buttons.html" . }} {{ if .Params.catalog }} {{ partial
"rental_catalog.html" . }} {{ end }} "rental_catalog.html" . }} {{ end }} {{ if .Params.art }} {{ partial
{{ if .Params.art }} {{ partial "artist_catalog.html" . }} {{ end }}
"artist_catalog.html" . }} {{ end }}
</div> </div>
{{ partial "questions.html" . }} {{ partial "gallery.html" . }} {{ partial "questions.html" . }} {{ partial "contact_form.html" . }} {{
partial "gallery.html" . }}
</div> </div>
</div> </div>
{{ end }} {{ end }}

View file

@ -0,0 +1,3 @@
{{ if .Params.contact }}
{{ .Params.frame | safeHTML }}
{{ end }}

File diff suppressed because one or more lines are too long