blog/layouts/shortcodes/strava.html

6 lines
274 B
HTML

{{ if and (.Get "id") (.Get "hash") }}
<div class="embed">
<iframe loading="lazy" height='405' width='590' frameborder='0' allowtransparency='true' scrolling='no' src="https://www.strava.com/activities/{{ .Get "id" }}/embed/{{ .Get "hash" }}"></iframe>
</div>
{{ end }}