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

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkasramp <kasra_mp@yahoo.com>2019-10-27 12:04:53 +0300
committerkasramp <kasra_mp@yahoo.com>2019-10-27 12:04:53 +0300
commit722b85c7e212b0d381adf75e99840c2bd9114c36 (patch)
tree3b9df130ebc4061d97ffc339fb8a953a38ca0c95
parent6c37d4881c5322cce78e8100f14f020d5a387c71 (diff)
#259 Add Mastodon social media icon
-rw-r--r--assets/sass/_iconfont.scss4
-rw-r--r--dev-config.toml1
-rw-r--r--exampleSite/config.toml1
-rw-r--r--exampleSite/full-config.toml1
-rw-r--r--layouts/partials/svg/mastodon.svg3
-rw-r--r--stackbit.yaml3
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