diff options
author | zhaohuabing <zhaohuabing@gmail.com> | 2022-03-26 05:02:35 +0300 |
---|---|---|
committer | zhaohuabing <zhaohuabing@gmail.com> | 2022-03-26 05:02:35 +0300 |
commit | 1f1b5f12e492300aa907a4c3f76a679330664bff (patch) | |
tree | fbda8a5bbd562e457488490316de80902645eba8 | |
parent | 0c5cfba2e6e5f2c5b4db11bdcbf76b491e5e32c5 (diff) | |
parent | 4d1026dbf71c9500efbafedeb0b3e6447a976fe3 (diff) |
Merge branch 'master' of https://github.com/zhaohuabing/hugo-theme-cleanwhite
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | layouts/partials/footer.html | 10 |
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="{{ . }}"> |