Skip to content

Commit 4609ba2

Browse files
authored
Update index.md
1 parent bd1186f commit 4609ba2

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

index.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ instructor: ["Sarah Stevens", "TBD"] # boxed, comma-separated list of instructor
1717
helper: ["Sarah Stevens", "TBD"] # boxed, comma-separated list of helpers' names, like ["Marlyn Wescoff", "Fran Bilas", "Ruth Lichterman"]
1818
email: ["[email protected]"] # boxed, comma-separated list of contact email addresses for the host, lead instructor, or whoever else is handling questions, like ["[email protected]", "[email protected]", "[email protected]"]
1919
collaborative_notes: https://pad.carpentries.org/2024-06-03-uwmadison-dc # optional: URL for the workshop collaborative notes, e.g. an Etherpad or Google Docs document (e.g., https://pad.carpentries.org/2015-01-01-euphoria)
20-
eventbrite: # optional: alphanumeric key for Eventbrite registration, e.g., "1234567890AB" (if Eventbrite is being used)
20+
eventbrite: 1207431222289 # optional: alphanumeric key for Eventbrite registration, e.g., "1234567890AB" (if Eventbrite is being used)
2121
---
2222

2323
{% comment %} See instructions in the comments below for how to edit specific sections of this workshop template. {% endcomment %}
@@ -73,16 +73,18 @@ displayed if the 'eventbrite' field in the header is not set.
7373
{% if page.eventbrite %}
7474
<strong>Some adblockers block the registration window. If you do not see the
7575
registration box below, please check your adblocker settings.</strong>
76-
<iframe
77-
src="https://www.eventbrite.com/tickets-external?eid={{page.eventbrite}}&ref=etckt"
78-
frameborder="0"
79-
width="100%"
80-
height="280px"
81-
scrolling="auto">
82-
</iframe>
76+
<div id="eventbrite-widget-container"></div>
77+
<script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"></script>
78+
<script type="text/javascript">
79+
window.EBWidgets.createWidget({
80+
// Required
81+
widgetType: 'checkout',
82+
eventId: {{page.eventbrite}},
83+
iframeContainerId: 'eventbrite-widget-container',
84+
});
85+
</script>
8386
{% endif %}
8487

85-
8688
<h2 id="general">General Information</h2>
8789

8890
{% comment %}

0 commit comments

Comments
 (0)