Add Pinterest sharing links

This commit is contained in:
James Panther
2021-10-20 11:07:55 +11:00
parent db134785e4
commit 723481a7a3
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Article summary support
- Slate colour scheme ([#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
### Changed
+1 -1
View File
@@ -27,7 +27,7 @@ colorScheme = "congo"
showHeadingAnchors = true
showPagination = true
showReadingTime = true
# sharingLinks = ["facebook", "twitter", "reddit", "linkedin", "email"]
# sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"]
[list]
showBreadcrumbs = false
+5
View File
@@ -14,6 +14,11 @@
"title": "sharing.linkedin",
"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": {
"icon": "reddit",
"title": "sharing.reddit",
+1
View File
@@ -26,6 +26,7 @@ sharing:
email: "Send via email"
facebook: "Share on Facebook"
linkedin: "Share on LinkedIn"
pinterest: "Pin on Pinterest"
reddit: "Submit to Reddit"
twitter: "Tweet on Twitter"