diff --git a/CHANGELOG.md b/CHANGELOG.md index 96c6357b..59be7179 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/config/_default/params.toml b/config/_default/params.toml index cc14cef2..e246751d 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -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 diff --git a/data/sharing.json b/data/sharing.json index ff9dbc54..34e60899 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -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", diff --git a/i18n/en.yaml b/i18n/en.yaml index b3ae90f9..323877b4 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -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"