diff --git a/README.md b/README.md index c62348b..afb70c2 100755 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ disqusShortname = 'YOUR_DISQUS_SHORTNAME' # add disqus comments twitter = 'YOUR_TWITTER_ID' # twitter.com/YOUR_TWITTER_ID github = 'YOUR_GITHUB_ID' # github.com/YOUR_GITHUB_ID instagram = 'YOUR_INSTAGRAM_ID' # instagram.com/YOUR_INSTAGRAM_ID + mastodon = 'YOUR_MASTODON_LINK' # mastodon.instance/@xxx rss = true # show rss icon with link # home page profile diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c8263f1..7b41d5f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,7 +11,7 @@ (print "linen"))) }} -{{ $social_params := slice "twitter" "github" "instagram" "rss" }} +{{ $social_params := slice "twitter" "github" "instagram" "mastodon" "rss" }} {{ range $social_params }} {{ if isset site.Params . }} {{ $.Scratch.Add "social_list" (slice .) }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fba05aa..a47a9ce 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -82,7 +82,7 @@ {{ end }} diff --git a/static/mastodon.svg b/static/mastodon.svg new file mode 100644 index 0000000..729af48 --- /dev/null +++ b/static/mastodon.svg @@ -0,0 +1 @@ +