Skip to content

Commit

Permalink
Merge pull request #245 from mismith0227/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
mismith0227 authored Nov 7, 2024
2 parents e54ae3b + 7836542 commit b5331df
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ paginate = 10
medium = "Your Medium username"
strava = "Your Strava userid"
threads = "Your Threads username"
bluesky = "Your Bluesky username"
# Disqus shortname
disqus = ""
author = "Your Name"
Expand Down
12 changes: 11 additions & 1 deletion layouts/partials/link.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if or ( $.Param "medium" ) ( $.Param "twitter" ) ( $.Param "mastodon" ) ( $.Param "facebook" ) ( $.Param "instagram" ) ( $.Param "github" ) ( $.Param "gitlab" ) ( $.Param "npm" ) ( $.Param "codepen" ) ( $.Param "dribbble" ) ( $.Param "fivehundredpx" ) ( $.Param "flickr" ) ( $.Param "pinterest" ) ( $.Param "tumblr" ) ( $.Param "vimeo" ) ( $.Param "youtube" ) ( $.Param "linkedin" ) ( $.Param "strava" ) ($.Param "threads") }}
{{ if or ( $.Param "medium" ) ( $.Param "twitter" ) ( $.Param "mastodon" ) ( $.Param "facebook" ) ( $.Param "instagram" ) ( $.Param "github" ) ( $.Param "gitlab" ) ( $.Param "npm" ) ( $.Param "codepen" ) ( $.Param "dribbble" ) ( $.Param "fivehundredpx" ) ( $.Param "flickr" ) ( $.Param "pinterest" ) ( $.Param "tumblr" ) ( $.Param "vimeo" ) ( $.Param "youtube" ) ( $.Param "linkedin" ) ( $.Param "strava" ) ($.Param "threads") ($.Param "bluesky") }}
<ul class="c-links">
{{ with ($.Param "medium") }}
<li class="c-links__item">
Expand All @@ -10,6 +10,16 @@
</a>
</li>
{{ end }}
{{ with ($.Param "bluesky") }}
<li class="c-links__item">
<a href="https://bsky.app/profile/{{ . }}" target="_blank">
<svg viewBox="0 0 64 64" class="c-links__icon">
<title>{{ i18n "social-bluesky" }}</title>
<use xlink:href="#icon-bluesky"></use>
</svg>
</a>
</li>
{{ end }}
{{ with ($.Param "twitter") }}
<li class="c-links__item">
<a href="https://twitter.com/{{ . }}" target="_blank">
Expand Down
Loading

0 comments on commit b5331df

Please sign in to comment.