Add Mastodon and Bluesky to author social links - #3919
Open
kingthorin with Copilot wants to merge 13 commits into
Open
Add Mastodon and Bluesky to author social links#3919kingthorin with Copilot wants to merge 13 commits into
kingthorin with Copilot wants to merge 13 commits into
Conversation
Member
|
New Issues (3)Checkmarx found the following issues in this Pull Request
Policy Management Violations (1)Policy Name: Commercial packagesThe following violations of your team's AppSec policy rules were identified in this project. Since 'Break Build' is enabled for these rules, you must resolve these issues before the Pull Request can be merged. This is the default policy that applies to all projects in your account.
Use @Checkmarx to interact with Checkmarx PR Assistant. |
kingthorin
marked this pull request as ready for review
July 23, 2026 11:52
…extracted usernames
Copilot
AI
changed the title
[WIP] Add Mastodon to author social links
Add Mastodon and Bluesky to author social links
Jul 23, 2026
kingthorin
reviewed
Jul 23, 2026
| njmulsqb: | ||
| name: Najam Ul Saqib | ||
| picture: /img/authors/njmulsqb_400x400.jpg | ||
| mastodon: https://infosec.exchange/@cybersoldier |
kingthorin
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adds support for displaying Mastodon and Bluesky social media links alongside existing Twitter links in author profiles, following the established pattern for social link integration.
Changes
Data
mastodonandblueskyfields to 6 authors insite/data/authors.ymlwith full profile URLsTemplates
site/layouts/partials/author-social-links.html- a reusable partial that extracts and displays usernames from social media URLs:https://[^/]+/@([^/]+)https://bsky\.app/profile/([^/?]+)site/layouts/post/single.htmlandsite/layouts/history/single.htmlto use the partial, eliminating previous code duplicationDocumentation
README.mdwith correct author data format examples and simplified template examples showing partial usageExample
Before, social links required inline template code in each layout. Now:
{{ partial "author-social-links" $author }}This renders:
The regex patterns extract just the username portion for clean display while preserving full URLs for navigation.