update pretalx shortcode

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
archetype-theme-transition
Toshaan Bharvani 3 years ago
parent f7e7399039
commit 32741b89b1

@ -61,7 +61,6 @@
<script src="{{ "lib/magnific-popup/magnific-popup.min.js" | absURL }}"></script>
<script src="{{ "lib/slick/slick.min.js" | absURL }}"></script>
<script src="https://registration.openpower.foundation/widget/v1.en.js" type="text/javascript" async></script>
<script src="https://cfp.openpower.foundation/summit2021/schedule/widget/v2.en.js" type="text/javascript" async></script>

<script src="{{ "js/preload.js" | absURL }}"></script>


@ -0,0 +1,14 @@
{{ $eventcode := .Get "event" }}

<script src="https://cfp.openpower.foundation/{{ $eventcode }}/schedule/widget/v2.en.js" type="text/javascript" async></script>

<pretalx-schedule event-url="https://cfp.openpower.foundation/{{ $eventcode}}/" locale="en" format="grid" style="--pretalx-clr-primary: #3aa57c">
</pretalx-schedule>
<noscript>
<div class="pretalx-widget">
<div class="pretalx-widget-info-message">
JavaScript is disabled in your browser. To access our schedule without JavaScript,
please <a target="_blank" href="https://cfp.openpower.foundation/$eventcode/schedule/">click here</a>.
</div>
</div>
</noscript>
Loading…
Cancel
Save