update mastodon link scheme
This commit is contained in:
parent
7cd202ef24
commit
40b26fcd68
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ disqusShortname = 'YOUR_DISQUS_SHORTNAME' # add disqus comments
|
||||||
twitter = 'YOUR_TWITTER_ID' # twitter.com/YOUR_TWITTER_ID
|
twitter = 'YOUR_TWITTER_ID' # twitter.com/YOUR_TWITTER_ID
|
||||||
github = 'YOUR_GITHUB_ID' # github.com/YOUR_GITHUB_ID
|
github = 'YOUR_GITHUB_ID' # github.com/YOUR_GITHUB_ID
|
||||||
instagram = 'YOUR_INSTAGRAM_ID' # instagram.com/YOUR_INSTAGRAM_ID
|
instagram = 'YOUR_INSTAGRAM_ID' # instagram.com/YOUR_INSTAGRAM_ID
|
||||||
mastodon = 'YOUR_MASTODON_LINK' # mastodon.instance/@xxx
|
mastodon = 'YOUR_MASTODON_LINK' # https://mastodon.instance/@xxx
|
||||||
rss = true # show rss icon
|
rss = true # show rss icon
|
||||||
|
|
||||||
# home page profile
|
# home page profile
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
<a
|
<a
|
||||||
class="h-8 w-8 [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
|
class="h-8 w-8 [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
|
||||||
style="--url: url(./{{ . }}.svg)"
|
style="--url: url(./{{ . }}.svg)"
|
||||||
href="{{ if eq . `rss` }} {{ `index.xml` | absURL }} {{ else if eq . `mastodon` }} https://{{ site.Params.Get . }} {{ else }} https://{{ . }}.com/{{ site.Params.Get . }} {{ end }}"
|
href="{{ if eq . `rss` }} {{ `index.xml` | absURL }} {{ else if eq . `mastodon` }} {{ site.Params.Get . }} {{ else }} https://{{ . }}.com/{{ site.Params.Get . }} {{ end }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
></a>
|
></a>
|
||||||
{{ end }}<!---->
|
{{ end }}<!---->
|
||||||
|
|
Loading…
Reference in a new issue