From 484bb85ce15c19af19cb2b3246aa7cc050e33c9a Mon Sep 17 00:00:00 2001 From: zzossig Date: Thu, 26 Dec 2019 05:35:39 +0900 Subject: [PATCH] social icon added(mastodon, gitlab) --- README.ko.md | 2 ++ README.md | 2 ++ exampleSite/config/_default/config.toml | 1 + exampleSite/config/_default/params.toml | 6 ++++++ layouts/partials/svgs/social/gitlab.svg | 1 + layouts/partials/svgs/social/mastodon.svg | 1 + 6 files changed, 13 insertions(+) create mode 100644 layouts/partials/svgs/social/gitlab.svg create mode 100644 layouts/partials/svgs/social/mastodon.svg diff --git a/README.ko.md b/README.ko.md index 9397d8a..9c1e81f 100644 --- a/README.ko.md +++ b/README.ko.md @@ -330,6 +330,8 @@ commento = false douban = "" csdn = "" zhihu = "" + gitlab = "" + mastodon = "" [donationOptions] enable = false # if set, the donation button will show up on the single page. diff --git a/README.md b/README.md index 1ae46de..830dc91 100644 --- a/README.md +++ b/README.md @@ -325,6 +325,8 @@ commento = false douban = "" csdn = "" zhihu = "" + gitlab = "" + mastodon = "" [donationOptions] enable = false # if set, the donation button will show up on the single page. diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index c99facd..553aaee 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -14,6 +14,7 @@ enableEmoji = true paginate = 13 rssLimit = 100 +enableGitInfo = false googleAnalytics = "" [markup] diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 4e5264f..76de98b 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -114,6 +114,12 @@ commento = false stack-exchange = "" telegram = "" steam = "" + weibo = "" + douban = "" + csdn = "" + zhihu = "" + gitlab = "" + mastodon = "" [donationOptions] enable = false diff --git a/layouts/partials/svgs/social/gitlab.svg b/layouts/partials/svgs/social/gitlab.svg new file mode 100644 index 0000000..fded1bf --- /dev/null +++ b/layouts/partials/svgs/social/gitlab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/layouts/partials/svgs/social/mastodon.svg b/layouts/partials/svgs/social/mastodon.svg new file mode 100644 index 0000000..353e354 --- /dev/null +++ b/layouts/partials/svgs/social/mastodon.svg @@ -0,0 +1 @@ + \ No newline at end of file