diff --git a/COPY-TO-ROOT-SASS/abridge.scss b/COPY-TO-ROOT-SASS/abridge.scss index 7fa9c87..22f2d8c 100644 --- a/COPY-TO-ROOT-SASS/abridge.scss +++ b/COPY-TO-ROOT-SASS/abridge.scss @@ -46,6 +46,7 @@ $icon-youtube: false, $icon-peertube: false, $icon-researchgate: false, + $icon-telegram: false, //$icon-x: true,// x symbol, used to close search results page. //$icon-search: true,//search, spyglass search button in search box. diff --git a/config.toml b/config.toml index 199eda9..177c529 100644 --- a/config.toml +++ b/config.toml @@ -190,6 +190,7 @@ twitch = "your-user-name" youtube = "channel/your-channel-id" #peertube = "https://peertube.example.com/@username" #researchgate = "your-profile-id" +#telegram = "your-user-name" ############################################################################### diff --git a/sass/_functions.scss b/sass/_functions.scss index 514c0e6..f95e331 100644 --- a/sass/_functions.scss +++ b/sass/_functions.scss @@ -65,6 +65,7 @@ * SVG Icons * https://github.com/feathericons/feather * https://github.com/tabler/tabler-icons/find/master + * https://github.com/twbs/icons * * https://yqnn.github.io/svg-path-editor/ * https://jakearchibald.github.io/svgomg/ @@ -132,7 +133,8 @@ copy: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Cpath d='M11 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1ZM7 9H3a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-4'/%3E%3C/svg%3E", copy-yes: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E", copy-err: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Cpath d='M1 12a1 1 0 0 0 22 0 1 1 0 0 0-22 0m11-7v9m0 5v-2'/%3E%3C/svg%3E", - search: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Ccircle cx='9.5' cy='9.5' r='8'/%3E%3Cpath d='m23 23-9-9'/%3E%3C/svg%3E" + search: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Ccircle cx='9.5' cy='9.5' r='8'/%3E%3Cpath d='m23 23-9-9'/%3E%3C/svg%3E", + telegram: "{% endif -%} {%- if config.extra.github_sponsor -%} {% endif -%} + {%- if config.extra.telegram -%} + {% endif -%}