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

github.com/zhaohuabing/hugo-theme-cleanwhite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinoo Ganesh <vinoo.ganesh@gmail.com>2022-03-16 21:39:33 +0300
committerzhaohuabing <zhaohuabing@gmail.com>2022-03-18 04:47:39 +0300
commit4d1026dbf71c9500efbafedeb0b3e6447a976fe3 (patch)
treeb0c329454760b9053886b973c9f173c23ca3ff23
parent341d5279a203dd2e81947273b81d028015a07737 (diff)
Add Slack as option to theme
-rw-r--r--exampleSite/config.toml3
-rw-r--r--layouts/partials/footer.html10
2 files changed, 12 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 7b17698..0ab96ed 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -77,7 +77,8 @@ home = ["HTML", "RSS", "Algolia"]
#instagram = "full profile url in instagram"
github = "https://github.com/yourgithub"
wechat = "your wechat qr code image"
-# medium = "full profile url in medium"
+ #medium = "full profile url in medium"
+ #slack = "full workspace url in slack"
#pinterest = "full profile url in pinterest"
#reddit = "full profile url in reddit"
#gitlab = "full profile url in gitlab"
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 47c976a..083a659 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -148,6 +148,16 @@
</a>
</li>
{{ end }}
+ {{ with .Site.Params.social.slack }}
+ <li>
+ <a target="_blank" href="{{ . }}">
+ <span class="fa-stack fa-lg">
+ <i class="fas fa-circle fa-stack-2x"></i>
+ <i class="fab fa-slack fa-stack-1x fa-inverse"></i>
+ </span>
+ </a>
+ </li>
+ {{ end }}
{{ with .Site.Params.social.mastodon }}
<li>
<a target="_blank" href="{{ . }}">