diff --git a/.eleventy.js b/.eleventy.js index 17f2912..7706176 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -32,8 +32,9 @@ const shortcodes = { mastodonCommentsSection: (url) => { // For use in Markdown only. Generates a standard comments section at the end of a note with a post URL. - const mastodonLink = shortcodes.newTabLink("Mastodon", "https://joinmastodon.org/") - return `## Comments?\n\nIf you have a ${mastodonLink} account, you can reply to [my post on Mastodon](${url}).`; + const mastodonLink = shortcodes.newTabLink("Mastodon", "https://joinmastodon.org/"); + const postLink = shortcodes.newTabLink("my post on the Fediverse", url); + return `## Comments?\n\nIf you have a ${mastodonLink} account, you can reply to ${postLink}`; } }; diff --git a/src/notes/2025/02/23/tiny-tools-fztotp.md b/src/notes/2025/02/23/tiny-tools-fztotp.md index 9e38c79..1de5cd0 100644 --- a/src/notes/2025/02/23/tiny-tools-fztotp.md +++ b/src/notes/2025/02/23/tiny-tools-fztotp.md @@ -35,3 +35,5 @@ machine with: curl -SsfL https://philcrockett.com/yolo/v1.sh \ | bash -s -- fztotp ``` + +{% mastodonCommentsSection "" %}