Skip to content

Commit

Permalink
add fediverse:creator tag (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascantor authored Oct 13, 2024
1 parent 64a51be commit 01b582d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/_includes/partials/head/fediverse.njk
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 content/posts/2024/10-13-adding-fediverse-creator-attribution.md
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.

0 comments on commit 01b582d

Please sign in to comment.