Skip to content

Commit 741acb7

Browse files
authoredMar 15, 2025··
Add Strava social network link (#1443)
1 parent 46fc6bd commit 741acb7

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
 

‎_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ social-network-links:
8282
# gitlab: yourname
8383
# itchio: yourname
8484
# untappd: yourname
85+
# strava: your userid
8586

8687
# If you want your website to generate an RSS feed, provide a description
8788
# The URL for the feed will be https://<your_website>/feed.xml

‎_includes/social-networks-links.html

+12
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,18 @@
395395
</li>
396396
{%- endif -%}
397397

398+
{%- if network[0] == "strava" -%}
399+
<li class="list-inline-item">
400+
<a href="https://www.strava.com/athletes/{{ site.social-network-links.strava}}" title="Strava">
401+
<span class="fa-stack fa-lg" aria-hidden="true">
402+
<i class="fas fa-circle fa-stack-2x"></i>
403+
<i class="fab fa-strava fa-stack-1x fa-inverse"></i>
404+
</span>
405+
<span class="sr-only">Strava</span>
406+
</a>
407+
</li>
408+
{%- endif -%}
409+
398410
{%- endfor -%}
399411

400412
</ul>

0 commit comments

Comments
 (0)
Please sign in to comment.