mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
Merge pull request #659 from nunocoracao/646-add-telegram-and-whatsapp-share-icon
✨ Add telegram and whatsapp share icons
This commit is contained in:
commit
ae3b8d9933
5 changed files with 27 additions and 3 deletions
|
@ -1928,6 +1928,11 @@ select {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.h-max {
|
||||||
|
height: -moz-max-content;
|
||||||
|
height: max-content;
|
||||||
|
}
|
||||||
|
|
||||||
.h-screen {
|
.h-screen {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
@ -1960,6 +1965,15 @@ select {
|
||||||
min-height: auto;
|
min-height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.min-h-full {
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.min-h-fit {
|
||||||
|
min-height: -moz-fit-content;
|
||||||
|
min-height: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
.\!w-px {
|
.\!w-px {
|
||||||
width: 1px !important;
|
width: 1px !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@ disableImageOptimization = false
|
||||||
showAuthorsBadges = false
|
showAuthorsBadges = false
|
||||||
showWordCount = true
|
showWordCount = true
|
||||||
showSummary = true
|
showSummary = true
|
||||||
# sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email"]
|
# sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
showHero = false
|
showHero = false
|
||||||
|
|
|
@ -28,5 +28,15 @@
|
||||||
"icon": "twitter",
|
"icon": "twitter",
|
||||||
"title": "sharing.twitter",
|
"title": "sharing.twitter",
|
||||||
"url": "https://twitter.com/intent/tweet/?url=%s&text=%s"
|
"url": "https://twitter.com/intent/tweet/?url=%s&text=%s"
|
||||||
|
},
|
||||||
|
"whatsapp": {
|
||||||
|
"icon": "whatsapp",
|
||||||
|
"title": "sharing.whatsapp",
|
||||||
|
"url": "https://api.whatsapp.com/send?text=%s&resubmit=true&title=%s"
|
||||||
|
},
|
||||||
|
"telegram": {
|
||||||
|
"icon": "telegram",
|
||||||
|
"title": "sharing.telegram",
|
||||||
|
"url": "https://t.me/share/url?url=%s&resubmit=true&title=%s"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -68,7 +68,7 @@ smartTOCHideUnfocusedChildren = true
|
||||||
showAuthorsBadges = true
|
showAuthorsBadges = true
|
||||||
showWordCount = false
|
showWordCount = false
|
||||||
showSummary = true
|
showSummary = true
|
||||||
sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email"]
|
sharingLinks = [ "linkedin", "twitter", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email"]
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
showHero = true
|
showHero = true
|
||||||
|
|
|
@ -207,7 +207,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
||||||
| `article.showWordCount` | `false` | Whether or not article word counts are displayed. |
|
| `article.showWordCount` | `false` | Whether or not article word counts are displayed. |
|
||||||
| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
|
| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
|
||||||
| `article.showSummary` | `false` | Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#site-configuration). |
|
| `article.showSummary` | `false` | Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#site-configuration). |
|
||||||
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. |
|
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. Available values are: "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", and "telegram" |
|
||||||
|
|
||||||
### List
|
### List
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue