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:
authorBIGMON <mrmon93@gmail.com>2021-01-09 02:54:32 +0300
committerGitHub <noreply@github.com>2021-01-09 02:54:32 +0300
commitcfbd7dccfbb44751e88c23320458b59c1d36b336 (patch)
tree7bd0421f1ab84a55f120dbe0eddf5e94e621a61b
parent79b7cd44fe88338727d765cfd42ff676cc29fd80 (diff)
feat: add social icons (youtube twitch ) (#314)
-rw-r--r--exampleSite/config.toml2
-rw-r--r--exampleSite/full-config.toml2
-rw-r--r--layouts/partials/svg/twitch.svg7
-rw-r--r--layouts/partials/svg/youtube.svg8
4 files changed, 19 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 91291d6..3986643 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -98,3 +98,5 @@ defaultContentLanguage = "en" # Default language to use
q-bilibili = "http://localhost:1313"
r-codeforces = "http://localhost:1313"
s-mastodon = "http://localhost:1313"
+ t-youtube = "http://localhost:1313"
+ u-twitch = "http://localhost:1313"
diff --git a/exampleSite/full-config.toml b/exampleSite/full-config.toml
index 24afed4..7d19c2a 100644
--- a/exampleSite/full-config.toml
+++ b/exampleSite/full-config.toml
@@ -207,6 +207,8 @@ defaultContentLanguage = "en" # Default language to use
q-bilibili = "http://localhost:1313"
r-codeforces = "http://localhost:1313"
s-mastodon = "http://localhost:1313"
+ t-youtube = "http://localhost:1313"
+ u-twitch = "http://localhost:1313"
# jsonfeed support
# more information: https://github.com/xianmin/hugo-theme-jane/issues/23
diff --git a/layouts/partials/svg/twitch.svg b/layouts/partials/svg/twitch.svg
new file mode 100644
index 0000000..0fd8937
--- /dev/null
+++ b/layouts/partials/svg/twitch.svg
@@ -0,0 +1,7 @@
+<svg
+ class="icon" style="" viewBox="0 0 36 36" version="1.1" width="36" height="36" id="svg8">
+ <path
+ style=""
+ d="M 10,32.5 C 10,30.309524 9.5666667,30 6.5,30 H 3 V 18.196167 6.3923336 L 6.2976072,3.1961668 9.5952145,0 H 21.297607 33 v 9.2813035 9.2813035 l -5.778997,5.718696 C 23.230948,28.229724 20.653654,30 18.895317,30 17.471816,30 15.312792,31.102597 14,32.5 12.708255,33.875 11.279813,35 10.825686,35 10.371559,35 10,33.875 10,32.5 Z M 23.12736,22 c 1.432033,0 3.645397,-1.197147 5.185549,-2.804719 C 30.682196,16.722278 31,15.598708 31,9.6952811 V 3 H 20.5 10 v 9.5 9.5 h 3 c 2.413503,0 3,0.425076 3,2.174314 v 2.174314 l 2.314451,-2.174314 C 19.587399,22.978441 21.753208,22 23.12736,22 Z M 17.666667,14.333333 C 17.3,13.966667 17,12.166667 17,10.333333 17,8.037037 17.466667,7 18.5,7 c 1.083333,0 1.5,1.1111111 1.5,4 0,3.753437 -0.7878,4.878866 -2.333333,3.333333 z m 6.722867,-0.760607 C 23.554137,11.395717 24.34722,7.7069709 25.75,7.2449946 26.613128,6.9607414 27,8.097114 27,10.916667 c 0,3.979702 -1.51214,5.518252 -2.610466,2.656059 z"
+ id="rect824"/>
+</svg>
diff --git a/layouts/partials/svg/youtube.svg b/layouts/partials/svg/youtube.svg
new file mode 100644
index 0000000..c8e948a
--- /dev/null
+++ b/layouts/partials/svg/youtube.svg
@@ -0,0 +1,8 @@
+<svg
+ class="icon" style="" viewBox="0 0 36 36" version="1.1" width="36"
+ height="36" id="svg8">
+ <path
+ style=""
+ d="m 1.8724447,28.346305 c -1.89825625,-2.287259 -1.89825625,-18.4053514 0,-20.6926103 C 3.0356132,6.2521624 5.4948113,6 18,6 35.952296,6 35.5,5.6898541 35.5,18 35.5,30.310146 35.952296,30 18,30 5.4948113,30 3.0356132,29.747838 1.8724447,28.346305 Z M 19.113845,20.815859 C 21.25123,19.614581 23,18.347445 23,18 23,17.348349 15.706815,13 14.613845,13 14.27623,13 14,15.25 14,18 c 0,2.75 0.27623,5 0.613845,5 0.337616,0 2.362616,-0.982863 4.5,-2.184141 z"
+ id="rect824"/>
+</svg>