blog/layouts/shortcodes/strava.html

4 lines
193 B
HTML

{{ if (.Get "id") }}
<div class="strava-embed-placeholder" data-embed-type="activity" data-embed-id="{{ .Get "id" }}"></div><script src="https://strava-embeds.com/embed.js"></script>
{{ end }}