diff --git a/layouts/shortcodes/displayGPX.html b/layouts/shortcodes/displayGPX.html new file mode 100644 index 0000000..aaf80be --- /dev/null +++ b/layouts/shortcodes/displayGPX.html @@ -0,0 +1,11 @@ +{{ $url := printf "%sdata/hikes/%s" .Site.BaseURL (.Get 0) }} +{{ $url_state := querify "state" (printf "{\"urls\":[\"%s\"]}" $url) }} +{{ $iframe_url := printf "https://gpx.studio/?%s&embed&distance" $url_state }} +{{ $a_url := printf "https://gpx.studio/?%s" $url_state }} + \ No newline at end of file