Add shortcode for `strava`
This commit is contained in:
parent
54907fa307
commit
79541a9600
|
@ -0,0 +1,5 @@
|
||||||
|
{{ 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 }}
|
Loading…
Reference in New Issue