From 722b85c7e212b0d381adf75e99840c2bd9114c36 Mon Sep 17 00:00:00 2001 From: kasramp Date: Sun, 27 Oct 2019 10:04:53 +0100 Subject: #259 Add Mastodon social media icon --- assets/sass/_iconfont.scss | 4 ++++ dev-config.toml | 1 + exampleSite/config.toml | 1 + exampleSite/full-config.toml | 1 + layouts/partials/svg/mastodon.svg | 3 +++ stackbit.yaml | 3 +++ 6 files changed, 13 insertions(+) create mode 100644 layouts/partials/svg/mastodon.svg diff --git a/assets/sass/_iconfont.scss b/assets/sass/_iconfont.scss index d3859f7..b34078c 100644 --- a/assets/sass/_iconfont.scss +++ b/assets/sass/_iconfont.scss @@ -122,3 +122,7 @@ .icon-globe::before { font-icon: url('../fonts/svg/globe.svg'); } + +.icon-mastodon::before { + font-icon: url('../fonts/svg/mastodon.svg'); +} \ No newline at end of file diff --git a/dev-config.toml b/dev-config.toml index de1d7e0..27b0828 100644 --- a/dev-config.toml +++ b/dev-config.toml @@ -211,3 +211,4 @@ defaultContentLanguage = "en" # Default language to use (if you setup multiling p-coding = "http://en.xianmin.org/hugo-theme-jane/" q-bilibili = "http://en.xianmin.org/hugo-theme-jane/" r-codeforces = "http://en.xianmin.org/hugo-theme-jane/" + s-mastodon = "http://en.xianmin.org/hugo-theme-jane/" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9c83dc1..5d1574e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -97,3 +97,4 @@ defaultContentLanguage = "en" # Default language to use p-coding = "http://localhost:1313" q-bilibili = "http://localhost:1313" r-codeforces = "http://localhost:1313" + s-mastodon = "http://localhost:1313" diff --git a/exampleSite/full-config.toml b/exampleSite/full-config.toml index 2ee8fb7..5ccc04e 100644 --- a/exampleSite/full-config.toml +++ b/exampleSite/full-config.toml @@ -206,6 +206,7 @@ defaultContentLanguage = "en" # Default language to use p-coding = "http://localhost:1313" q-bilibili = "http://localhost:1313" r-codeforces = "http://localhost:1313" + s-mastodon = "http://localhost:1313" # jsonfeed support # more information: https://github.com/xianmin/hugo-theme-jane/issues/23 diff --git a/layouts/partials/svg/mastodon.svg b/layouts/partials/svg/mastodon.svg new file mode 100644 index 0000000..2cd0ce8 --- /dev/null +++ b/layouts/partials/svg/mastodon.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/stackbit.yaml b/stackbit.yaml index 8e0e77c..66e554e 100644 --- a/stackbit.yaml +++ b/stackbit.yaml @@ -214,6 +214,9 @@ models: - type: string name: r-codeforces label: Codeforces + - type: string + name: s-mastodon + label: Mastodon basicpage: type: page label: Basic page -- cgit v1.2.3