diff options
author | Chen Xianmin <xianmin12@gmail.com> | 2019-11-03 09:31:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-03 09:31:36 +0300 |
commit | 862b806512d2d1a43893be6cbb64746d3b037416 (patch) | |
tree | 3b9df130ebc4061d97ffc339fb8a953a38ca0c95 | |
parent | 6c37d4881c5322cce78e8100f14f020d5a387c71 (diff) | |
parent | 722b85c7e212b0d381adf75e99840c2bd9114c36 (diff) |
Merge pull request #260 from kasramp/master
#259 Add Mastodon social media icon
-rw-r--r-- | assets/sass/_iconfont.scss | 4 | ||||
-rw-r--r-- | dev-config.toml | 1 | ||||
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | exampleSite/full-config.toml | 1 | ||||
-rw-r--r-- | layouts/partials/svg/mastodon.svg | 3 | ||||
-rw-r--r-- | stackbit.yaml | 3 |
6 files changed, 13 insertions, 0 deletions
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 @@ +<svg class="icon" style="" viewBox="0 0 448 512" version="1.1" + xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" + width="36" height="36"><path fill="currentColor" d="M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"></path></svg>
\ 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 |