Skip to content

Commit 0fa2915

Browse files
fix: correctly link bsky profiles (#3897)
1 parent f5c785e commit 0fa2915

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/templates/base/base_chapter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ <h2 id="authors">
276276
</a>
277277
{% endif %}
278278
{% if authordata.bluesky %}
279-
<a class="bluesky" href="https://bsky.app/{{ authordata.bluesky }}" aria-labelledby="author-{{ author }}-bluesky">
279+
<a class="bluesky" href="https://bsky.app/profile/{{ authordata.bluesky }}" aria-labelledby="author-{{ author }}-bluesky">
280280
<svg width="22" height="22" role="img">
281281
<title id="author-{{ author }}-bluesky">{{ onBluesky(authordata.bluesky) }}</title>
282282
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#bluesky-logo"></use>

src/templates/base/base_ebook.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ <h1 class="title title-lg">
389389
{% endif %}
390390
{% if contributor.bluesky %}
391391
<div class="contributor-social">
392-
<a href="https://bsky.app/{{ contributor.bluesky }}" aria-labelledby="contributors-{{ id }}-bluesky">
392+
<a href="https://bsky.app/profile/{{ contributor.bluesky }}" aria-labelledby="contributors-{{ id }}-bluesky">
393393
<svg role="img">
394394
<title id="contributors-{{ id }}-bluesky">{{ onBluesky(contributor.bluesky) }}</title>
395395
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#bluesky-logo"></use>

src/templates/base/contributors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ <h1 class="title title-lg">
335335
</a>
336336
{% endif %}
337337
{% if contributor.bluesky %}
338-
<a href="https://bsky.app/{{ contributor.bluesky }}" aria-label="{{ onBluesky(contributor.bluesky) }}">
338+
<a href="https://bsky.app/profile/{{ contributor.bluesky }}" aria-label="{{ onBluesky(contributor.bluesky) }}">
339339
<svg width="22" height="22" role="img">
340340
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#bluesky-logo"></use>
341341
</svg>

src/templates/base/ebook.ejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h2 id="{{ metadata.get('chapter') }}-authors">
114114
</a>
115115
{% endif %}
116116
{% if authordata.bluesky %}
117-
<a class="bluesky" href="https://bsky.app/{{ authordata.bluesky }}" aria-labelledby="{{ metadata.get('chapter') }}-author-{{ author }}-bluesky">
117+
<a class="bluesky" href="https://bsky.app/profile/{{ authordata.bluesky }}" aria-labelledby="{{ metadata.get('chapter') }}-author-{{ author }}-bluesky">
118118
<svg aria-hidden="true">
119119
<title id="{{ metadata.get('chapter') }}-author-{{ author }}-bluesky">{{ onBluesky(authordata.bluesky) }}</title>
120120
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#bluesky-logo"></use>

0 commit comments

Comments
 (0)