aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml1
-rw-r--r--sass/_variables.scss1
-rw-r--r--sass/include/_icons.scss4
-rw-r--r--templates/macros/social.html2
4 files changed, 7 insertions, 1 deletions
diff --git a/config.toml b/config.toml
index ef65256..ad7d06a 100644
--- a/config.toml
+++ b/config.toml
@@ -122,3 +122,4 @@ instagram = "your-user-name"
pinterest = "your-user-name"
twitch = "your-user-name"
youtube = "your-channel-id"
+researchgate = "your-profile-id"
diff --git a/sass/_variables.scss b/sass/_variables.scss
index c9d30f6..0d3208d 100644
--- a/sass/_variables.scss
+++ b/sass/_variables.scss
@@ -70,6 +70,7 @@ $icon-instagram: true !default;
$icon-pinterest: true !default;
$icon-twitch: true !default;
$icon-youtube: true !default;
+$icon-researchgate: true !default;
$icon-search: false !default;
$icon-ffolder: false !default;
diff --git a/sass/include/_icons.scss b/sass/include/_icons.scss
index 8da4544..b2422d2 100644
--- a/sass/include/_icons.scss
+++ b/sass/include/_icons.scss
@@ -54,7 +54,8 @@
twitch: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7'/%3E%3C/svg%3E",
twitter: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'/%3E%3C/svg%3E",
x: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E",
- youtube: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z'/%3E%3Cpath d='m9.75 15.02 5.75-3.27-5.75-3.27v6.54z'/%3E%3C/svg%3E"
+ youtube: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z'/%3E%3Cpath d='m9.75 15.02 5.75-3.27-5.75-3.27v6.54z'/%3E%3C/svg%3E",
+ researchgate: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M17.07865956.9290157c1.65369-1.5798972 4.896252-1.106892 5.7398832 1.13016q-.6222528.2712384-1.2518184.520206c-.3729528-.6584844-.9529908-1.301346-1.7653764-1.3259436-1.0400796-.1605492-2.0578884.6807552-2.1915132 1.705212-.14958.9553176-.1093596 1.9305792-.09972 2.8945392.0312456.6428616.0378936 1.3296.383922 1.8970068.6225852.93072 2.030964 1.0779732 2.9191368.46536.7385928-.5557728.8100588-1.5533052.8057376-2.3992632-.6272388-.0089748-1.2521508-.0156228-1.8790572-.0113016-.0089748-.410514-.0113016-.821028-.0046536-1.2318744 1.1048976-.006648 2.2094628-.013296 3.3143604.0046536.006648 1.2185784.1203288 2.5172652-.4397652 3.6467604-1.1271684 2.2493508-4.9501008 2.28525-6.0792636.0176172-.5870184-1.1471124-.4799856-2.4770448-.4956084-3.72288-.0009972-1.2528156.1017144-2.6595324 1.043736-3.5902524zM.93598596 5.9020521c2.2766076.071466 4.550556-.0113016 6.8248368-.0558432 1.59552-.0269244 3.3053856.1941216 4.602078 1.1986344 1.4529204 1.100244 1.9349004 3.1734228 1.3724796 4.8673332-.5491248 1.72848-2.0465868 3.0710436-3.78936 3.5327472 1.243176 2.1313488 2.6379264 4.18824 4.302918 6.01644.7455732.81438 1.7208348 1.4818392 2.8456764 1.5935256-.0136284.2566128-.0226032.5108988-.0312456.7675116-1.8438228.4962732-3.943926-.0751224-5.163834-1.5702576-1.6659888-1.997724-3.0138708-4.2377676-4.2992616-6.4947636-.7365984-.0019944-1.47087-.0222708-2.2051416-.0555108.0113016 1.7806668-.0289188 3.561666.0222708 5.3426652.044874.5378232.09972 1.2006288.604968 1.5154116.6405348.2679144 1.3525356.2722356 2.030964.3815952 0 .20775-.0023268.6205908-.0023268.8280084-2.370012-.098058-4.7426832-.1093596-7.11336.0023268-.0023268-.2768892-.0023268-.553446-.0043212-.8280084.586686-.13296 1.2361956-.142932 1.7497536-.4843068.4916196-.475332.4743348-1.2252264.5075748-1.8591132q.0136284-5.8116816-.0023268-11.620704c-.03324-.6295656-.0355668-1.386108-.5690688-1.8212196-.520206-.2699088-1.1205204-.3101292-1.6829412-.43212v-.824352m4.459146 1.2853908c.013296 2.40159-.0312456 4.8051744.0222708 7.2087588 1.4485992.0558432 3.02484.254286 4.3474596-.4889604 2.1399912-1.140132 2.4192072-4.6349856.4723404-6.0769368-1.4186832-.9686136-3.230928-.6674592-4.8424032-.6428616z'/%3E%3C/svg%3E"
);
$icon: map-get($icons, $icon-name);
@return url("data:image/svg+xml,#{$icon}");
@@ -94,6 +95,7 @@
@if $icon-twitter {.twitter { background-image: icon(twitter, "%232ba5da", 2, "none") }}
@if $icon-x {.x { background-image: icon(x, "%23888", 2, "none") }}
@if $icon-youtube {.youtube { background-image: icon(youtube, "%23f00", 2, "none") }}
+ @if $icon-researchgate {.researchgate { background-image: icon(researchgate, "none", 2, "%2300d0b0") }}
.svg {
width: 48px;
height: 48px;
diff --git a/templates/macros/social.html b/templates/macros/social.html
index 7d24e16..540e111 100644
--- a/templates/macros/social.html
+++ b/templates/macros/social.html
@@ -39,5 +39,7 @@
<a href="https://www.twitch.tv/{{ social_config.twitch }}/" target="_blank"><span class="svg twitch" title="Twitch"></span></a>{% endif %}
{%- if social_config.youtube %}
<a href="https://www.youtube.com/channel/{{ social_config.youtube }}/" target="_blank"><span class="svg youtube" title="YouTube"></span></a>{% endif %}
+ {%- if social_config.researchgate %}
+ <a href="https://www.researchgate.net/profile/{{ social_config.researchgate }}/" target="_blank"><span class="svg researchgate" title="ResearchGate"></span></a>{% endif %}
</span>
{%- endmacro %}