Widget:MastodonLink: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Give up on the icon idea
No edit summary
 
Line 1: Line 1:
<includeonly>
<includeonly>
Image:Mastodon.svg
<a href="https://<!--{$site|escape:'html'}-->/@<!--{$user|escape:'html'}-->" rel="me">
<a href="https://<!--{$site|escape:'html'}-->/@<!--{$user|escape:'html'}-->" rel="me">
@<!--{$user|escape:'html'}-->@<!--{$site|escape:'html'}-->
@<!--{$user|escape:'html'}-->@<!--{$site|escape:'html'}-->

Latest revision as of 00:04, 12 March 2025

This widget basically just generates a hyperlink with the rel="me" attribute/value.

Example

{{#widget:MastodonLink|site=hachyderm.io|user=nottinghack}}

@nottinghack@hachyderm.io

Parameters

site
The mastodon site domain
username
The mastodon username