Add Pinterest sharing links

pull/14/head
James Panther 2021-10-20 11:07:55 +11:00
parent db134785e4
commit 723481a7a3
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
4 changed files with 8 additions and 1 deletions

View File

@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Article summary support - Article summary support
- Slate colour scheme ([#9](https://github.com/jpanther/congo/pull/9)) - Slate colour scheme ([#9](https://github.com/jpanther/congo/pull/9))
- Icons for ORCID and ResearchGate ([#9](https://github.com/jpanther/congo/pull/9)) - Icons for ORCID and ResearchGate ([#9](https://github.com/jpanther/congo/pull/9))
- Pinterest sharing links
- Sharing links can now be specified in front matter - Sharing links can now be specified in front matter
### Changed ### Changed

View File

@ -27,7 +27,7 @@ colorScheme = "congo"
showHeadingAnchors = true showHeadingAnchors = true
showPagination = true showPagination = true
showReadingTime = true showReadingTime = true
# sharingLinks = ["facebook", "twitter", "reddit", "linkedin", "email"] # sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"]
[list] [list]
showBreadcrumbs = false showBreadcrumbs = false

View File

@ -14,6 +14,11 @@
"title": "sharing.linkedin", "title": "sharing.linkedin",
"url": "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" "url": "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s"
}, },
"pinterest": {
"icon": "pinterest",
"title": "sharing.pinterest",
"url": "https://pinterest.com/pin/create/bookmarklet/?url=%s&description=%s"
},
"reddit": { "reddit": {
"icon": "reddit", "icon": "reddit",
"title": "sharing.reddit", "title": "sharing.reddit",

View File

@ -26,6 +26,7 @@ sharing:
email: "Send via email" email: "Send via email"
facebook: "Share on Facebook" facebook: "Share on Facebook"
linkedin: "Share on LinkedIn" linkedin: "Share on LinkedIn"
pinterest: "Pin on Pinterest"
reddit: "Submit to Reddit" reddit: "Submit to Reddit"
twitter: "Tweet on Twitter" twitter: "Tweet on Twitter"