Skip to content

Commit

Permalink
Add support for bluesky social links
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jan 22, 2025
1 parent b70f7fe commit bb8fe0c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _includes/person_roles.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
{%- if person.mastodon -%}
<a href="{{person.mastodon}}"><svg class="iconsvg pre-text"><use xlink:href="#mastodon"></use></svg> Mastodon</a>
{%- endif -%}
{%- if person.bluesky -%}
<a href="https://bsky.app/profile/{{person.bluesky}}"><svg class="iconsvg pre-text"><use xlink:href="#bluesky"></use></svg> Bluesky</a>
{%- endif -%}
{%- if person.twitter -%}
<a href="https://x.com/{{person.twitter}}"><svg class="iconsvg pre-text"><use xlink:href="#twitter"></use></svg> Twitter</a>
{%- endif -%}
Expand Down
3 changes: 3 additions & 0 deletions _includes/social_links.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{%- if item.mastodon -%}
<li><a href="{{item.mastodon}}" target="_blank" title="{{item.title}} on Mastodon" rel="me"><svg class="iconsvg"><use xlink:href="#mastodon"></use></svg></a></li>
{%- endif -%}
{%- if item.bluesky -%}
<li><a href="https://bsky.app/profile/{{item.bluesky}}" target="_blank" title="@{{item.bluesky}} on Bluesky"><svg class="iconsvg"><use xlink:href="#bluesky"></use></svg></a></li>
{%- endif -%}
{%- if item.twitter -%}
<li><a href="https://x.com/{{item.twitter}}" target="_blank" title="@{{item.twitter}} on Twitter"><svg class="iconsvg"><use xlink:href="#twitter"></use></svg></a></li>
{%- endif -%}
Expand Down
3 changes: 3 additions & 0 deletions _tools/frontmatter-validator/schemas/page.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@
"twitter": {
"type": "string"
},
"bluesky": {
"type": "string"
},
"youtube_page": {
"type": "string",
"description": "Path to a page on youtube.com. Different from `youtube` since that parameter is a video ID which is used differently."
Expand Down
3 changes: 3 additions & 0 deletions _tools/frontmatter-validator/schemas/person.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
"twitter": {
"type": "string"
},
"bluesky": {
"type": "string"
},
"github": {
"type": "string"
},
Expand Down
4 changes: 4 additions & 0 deletions assets/icons/fa-brands.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bb8fe0c

Please sign in to comment.