summaryrefslogtreecommitdiffstats
path: root/indieweb-micro/themes/MinIndie/layouts/shortcodes/mention.html
blob: 13a5355aea1b4e06a16c631a6bc181cc829a19b3 (plain) (blame)
1
2
3
4
5
6
7
8
{{ $username := .Get 0 }}
{{ $url := .Get 1 }}

{{ if not $url }}
  {{ errorf "mention shortcode requires both username and URL parameters. Usage: {{< mention \"username\" \"https://example.com/@username\" >}}" }}
{{ end }}

<a href="{{ $url }}" class="u-in-reply-to h-card">@{{ strings.TrimPrefix "@" $username }}</a>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage