From d42419a1e86bf3e3bb08d980abeb33ce4dd365ee Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 26 Nov 2022 21:22:41 +0900 Subject: [PATCH 1/2] Modify the shortcode for `strava`. --- layouts/shortcodes/strava.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/layouts/shortcodes/strava.html b/layouts/shortcodes/strava.html index 8de5bcb..0fad4b7 100644 --- a/layouts/shortcodes/strava.html +++ b/layouts/shortcodes/strava.html @@ -1,5 +1,3 @@ -{{ if and (.Get "id") (.Get "hash") }} -
- -
+{{ if (.Get "id") }} +
{{ end }} From a6697fd27fda671c3cf1439a6eb118c0ea30fcac Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 26 Nov 2022 21:22:59 +0900 Subject: [PATCH 2/2] Use the latest shortcode for `strava`. --- content/posts/2022/2022-11-20-osaka-tokyo-trip.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/posts/2022/2022-11-20-osaka-tokyo-trip.md b/content/posts/2022/2022-11-20-osaka-tokyo-trip.md index ec96044..18347a6 100644 --- a/content/posts/2022/2022-11-20-osaka-tokyo-trip.md +++ b/content/posts/2022/2022-11-20-osaka-tokyo-trip.md @@ -34,7 +34,7 @@ images = ["ogp/2022-11-20-osaka-tokyo-trip.webp"] 全体の行程はこのような感じです: -
+{{< strava id="8065282115" >}} ## 大阪天満宮〜天神橋筋商店街 夜は大阪天満宮〜天神橋筋商店街へ向かいました。辿り着くのがやや遅かったらしく、大阪天満宮は閉まっていたのでした。。こちらは目の前にあった、落語の寄席会場みたいです: @@ -123,4 +123,4 @@ images = ["ogp/2022-11-20-osaka-tokyo-trip.webp"] 久しぶりに長い距離を走りきったので満足です。高橋尚子さんにも応援してもらえたよ。 -
+{{< strava id="8074801819" >}}