Skip to content

Commit

Permalink
Merge pull request #208 from bangkokrb/release/4.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierobert authored Oct 5, 2022
2 parents 1d87eee + 76594e6 commit 4a93261
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
7 changes: 1 addition & 6 deletions src/_components/analytics.liquid
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
<script>
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t,e){var n=document.createElement("script");n.type="text/javascript";n.async=!0;n.src="https://cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(n,a);analytics._loadOptions=e};analytics.SNIPPET_VERSION="4.1.0";
analytics.load("TxlxESGNUiB3pfg4hfHAFO8pjYChQbmN");
analytics.page();
}}();
</script>
<script src="https://fs.rubyconfth.com/script.js" data-site="FOCVQRVQ" defer></script>
4 changes: 4 additions & 0 deletions src/_components/head.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@
<link rel="icon" type="image/x-icon" href="/images/favicon/favicon.ico">

<link rel="manifest" href="/manifest.json"">
{% if bridgetown.environment == "production" %}
{% render "analytics" %}
{% endif %}
4 changes: 0 additions & 4 deletions src/_layouts/default.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,5 @@
</main>

{% render "footer", metadata: site.metadata, social_platforms: site.data.social_platforms %}

{% if site.environment == "production" %}
{% render "analytics" %}
{% endif %}
</body>
</html>
10 changes: 9 additions & 1 deletion src/venue.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,13 @@ title: "Venue"

<p>The venue is accessible both by BTS (Victory Monument) and the Airport Link (Phaya Thai).</p>

<a href="https://goo.gl/maps/vnLpSxt1zzw" target="_blank" class="card-venue__btn btn btn--primary">View in Google Maps</a>
<a href="https://goo.gl/maps/vnLpSxt1zzw" target="_blank" class="btn btn--primary">View in Google Maps</a>
</section>

<section class="venue-booking">
<h2>Staying There</h2>

<p>If you are interested in staying in the hotel during the event, you can use a dedicated booking portal provided directly by the hotel. The portal provides a discounted rate for all attendees.</p>

<a href="https://www.idem.events/r/rubyconfth-2022" target="_blank" class="btn btn--primary">Book a Room</a>
</section>

0 comments on commit 4a93261

Please sign in to comment.