Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobb Kidd <robb@thekidds.org>2022-11-12 01:18:03 +0300
committerGitHub <noreply@github.com>2022-11-12 01:18:03 +0300
commitb4ee5919d2d7ab63e183f446135ef095a01b7645 (patch)
treef93f305fd3e9ab063929bff7bae1e05b02580dee
parentc4f772965b32a37de5a9d825c3cebd16ead6705a (diff)
add support for Mastodon link in sidebar socials (#72)
-rw-r--r--layouts/partials/sidebar.html1
-rwxr-xr-xsample-config.toml1
2 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index ae5f49b..6263fb5 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -27,6 +27,7 @@
{{ with .Site.Params.bitbucket }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-bitbucket fa-3x"></i></a>{{ end }}
{{ with .Site.Params.gitlab }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-gitlab fa-3x"></i></a>{{ end }}
{{ with .Site.Params.twitter }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-twitter fa-3x"></i></a>{{ end }}
+ {{ with .Site.Params.mastodon }}<a target="_blank" rel="me noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-mastodon fa-3x"></i></a>{{ end }}
{{ if not .Site.Params.fontAwesome }}
{{ with .Site.Params.keybase }}<a target="_blank" rel="noopener noreferrer" href="{{ . }}" title="{{ . }}"><i class="fa fa-keybase fa-3x"></i></a>{{ end }} <!-- added keybase -->
{{ else }}
diff --git a/sample-config.toml b/sample-config.toml
index 375e9b8..ec545bf 100755
--- a/sample-config.toml
+++ b/sample-config.toml
@@ -57,6 +57,7 @@ post = "/blog/:year-:month-:day-:title/" # change the post URL to look like the
github = "https://github.com/parsiya/Hugo-Octopress"
bitbucket = "https://bitbucket.org/parsiya/"
twitter = "https://twitter.com/cryptogangsta/"
+ mastodon = ""
keybase = ""
stackoverflow = ""
linkedin = ""