-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64a51be
commit 01b582d
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{%- set fediverse = siteConfig.author.fediverse -%} | ||
{% for account in fediverse -%} | ||
<meta name="fediverse:creator" content="@{{ account.username }}@{{ account.server }}" /> | ||
<link rel="me" href="{{ account.url }}" title="@{{ account.username }}@{{ account.server }}" /> | ||
{% endfor -%} |
18 changes: 18 additions & 0 deletions
18
content/posts/2024/10-13-adding-fediverse-creator-attribution.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: Adding Fediverse Creator Attribution to Your Blog | ||
description: | ||
date: 2024-10-13 | ||
tags: | ||
- Web | ||
- Fediverse | ||
- Mastodon | ||
disclaimer: | ||
--- | ||
|
||
Mastodon recently [added a feature](https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/) to add author attribution labels to links posted across Mastodon. | ||
|
||
When a link to a web page you've created is posted on Mastodon, you can opt to have your own Mastodon account tagged automatically. | ||
|
||
You can [see how I've implemented this feature in my own blog here](https://github.com/lucascantor/blog.lucascantor.com/pull/91), in the same pull request I'm using to author this post. | ||
|
||
See [Robb Knight's excellent write-up](https://rknight.me/blog/setting-up-mastodon-author-tags/) for for more impmentation details. |