From b4ee5919d2d7ab63e183f446135ef095a01b7645 Mon Sep 17 00:00:00 2001 From: Robb Kidd Date: Fri, 11 Nov 2022 17:18:03 -0500 Subject: add support for Mastodon link in sidebar socials (#72) --- layouts/partials/sidebar.html | 1 + sample-config.toml | 1 + 2 files changed, 2 insertions(+) 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 }}{{ end }} {{ with .Site.Params.gitlab }}{{ end }} {{ with .Site.Params.twitter }}{{ end }} + {{ with .Site.Params.mastodon }}{{ end }} {{ if not .Site.Params.fontAwesome }} {{ with .Site.Params.keybase }}{{ end }} {{ 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 = "" -- cgit v1.2.3