From 0a7b3f23dee983234ee31aacc75b9d98c85f366a Mon Sep 17 00:00:00 2001
From: Connick Shields <5580660+connickshields@users.noreply.github.com>
Date: Sat, 21 Jan 2023 22:47:08 -0800
Subject: [PATCH 1/6] :bug: Fix URL safety declaration for author links
https://gohugo.io/functions/safeurl/
> Without safeURL, only the URI schemes http:, https: and mailto: are considered safe by Go templates.
By adding `safeURL`, we allow different types of links like `tel:` to work properly in author bios.
---
layouts/partials/author-links.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/author-links.html b/layouts/partials/author-links.html
index 4528eea4..72aa4e6c 100644
--- a/layouts/partials/author-links.html
+++ b/layouts/partials/author-links.html
@@ -5,7 +5,7 @@
Date: Mon, 23 Jan 2023 08:43:38 +1100
Subject: [PATCH 2/6] =?UTF-8?q?=F0=9F=8D=B1=20Add=20new=20`mobile`=20and?=
=?UTF-8?q?=20`phone`=20SVG=20icons?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
assets/icons/mobile.svg | 1 +
assets/icons/phone.svg | 1 +
2 files changed, 2 insertions(+)
create mode 100644 assets/icons/mobile.svg
create mode 100644 assets/icons/phone.svg
diff --git a/assets/icons/mobile.svg b/assets/icons/mobile.svg
new file mode 100644
index 00000000..2b9a0464
--- /dev/null
+++ b/assets/icons/mobile.svg
@@ -0,0 +1 @@
+
diff --git a/assets/icons/phone.svg b/assets/icons/phone.svg
new file mode 100644
index 00000000..6760340b
--- /dev/null
+++ b/assets/icons/phone.svg
@@ -0,0 +1 @@
+
From 91cafad2dfcdd1f161236dce4a2597cbb219102e Mon Sep 17 00:00:00 2001
From: James Panther <4462786+jpanther@users.noreply.github.com>
Date: Mon, 23 Jan 2023 08:49:09 +1100
Subject: [PATCH 3/6] =?UTF-8?q?=F0=9F=93=9D=20Update=20docs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
CHANGELOG.md | 8 ++++++++
exampleSite/content/samples/icons/index.md | 4 +++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c453c96e..e06e40c4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
+### Added
+
+- New icons for `mobile` and `phone`
+
+### Fixed
+
+- Author links containing URLs in non-hypertext schemes (ie. `tel:`) would not be created as links ([#452](https://github.com/jpanther/congo/pull/452))
+
## [2.5.1] - 2023-01-20
### Changed
diff --git a/exampleSite/content/samples/icons/index.md b/exampleSite/content/samples/icons/index.md
index f55c058d..2de5eddd 100644
--- a/exampleSite/content/samples/icons/index.md
+++ b/exampleSite/content/samples/icons/index.md
@@ -1,7 +1,7 @@
---
title: "Icons"
date: 2020-08-14
-lastmod: 2022-03-09
+lastmod: 2023-01-23
draft: false
description: "Icon support in Congo."
slug: "icons"
@@ -48,10 +48,12 @@ The full list of built-in icons and their corresponding names can referenced bel
| mastodon | {{< icon mastodon >}} |
| medium | {{< icon medium >}} |
| microsoft | {{< icon microsoft >}} |
+| mobile | {{< icon mobile >}} |
| moon | {{< icon moon >}} |
| orcid | {{< icon orcid >}} |
| patreon | {{< icon patreon >}} |
| pencil | {{< icon pencil >}} |
+| phone | {{< icon phone >}} |
| pinterest | {{< icon pinterest >}} |
| reddit | {{< icon reddit >}} |
| researchgate | {{< icon researchgate >}} |
From 1f96038a607bef342cbfee8d71f1194c9852dd3d Mon Sep 17 00:00:00 2001
From: James Panther <4462786+jpanther@users.noreply.github.com>
Date: Tue, 24 Jan 2023 08:37:50 +1100
Subject: [PATCH 4/6] =?UTF-8?q?=F0=9F=90=9B=20Remove=20whitespace=20at=20E?=
=?UTF-8?q?OF=20in=20render-link?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes #453
---
layouts/_default/_markup/render-link.html | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index 2102bfa3..5408216c 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1,3 +1,7 @@
-
- {{- .Text | safeHTML -}}
-
+
+ {{- .Text | safeHTML -}}
+
\ No newline at end of file
From 5c7c8cd3ff43e29ceca791dda0a502310a8f9a71 Mon Sep 17 00:00:00 2001
From: James Panther <4462786+jpanther@users.noreply.github.com>
Date: Tue, 24 Jan 2023 08:43:49 +1100
Subject: [PATCH 5/6] =?UTF-8?q?=F0=9F=93=9D=20Update=20changelog?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
CHANGELOG.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e06e40c4..e3e68d57 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Fixed
- Author links containing URLs in non-hypertext schemes (ie. `tel:`) would not be created as links ([#452](https://github.com/jpanther/congo/pull/452))
+- Extra whitespace inserted after links within Markdown content ([#456](https://github.com/jpanther/congo/pull/456))
## [2.5.1] - 2023-01-20
From e3616c576174e0b35025b65ed55ea317e35452ac Mon Sep 17 00:00:00 2001
From: James Panther <4462786+jpanther@users.noreply.github.com>
Date: Tue, 24 Jan 2023 08:50:19 +1100
Subject: [PATCH 6/6] =?UTF-8?q?=F0=9F=94=A8=20Preparing=20release=20v2.5.2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
CHANGELOG.md | 5 ++++-
assets/css/compiled/main.css | 2 +-
assets/css/main.css | 2 +-
package.json | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e3e68d57..e192a0bf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
+## [2.5.2] - 2023-01-24
+
### Added
- New icons for `mobile` and `phone`
@@ -626,7 +628,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Advanced customisation using simple Tailwind colour definitions and styles
- Fully documented
-[Unreleased]: https://github.com/jpanther/congo/compare/v2.5.1...HEAD
+[Unreleased]: https://github.com/jpanther/congo/compare/v2.5.2...HEAD
+[2.5.2]: https://github.com/jpanther/congo/compare/v2.5.1...v2.5.2
[2.5.1]: https://github.com/jpanther/congo/compare/v2.5.0...v2.5.1
[2.5.0]: https://github.com/jpanther/congo/compare/v2.4.2...v2.5.0
[2.4.2]: https://github.com/jpanther/congo/compare/v2.4.1...v2.4.2
diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css
index 0cd9730a..8d750347 100644
--- a/assets/css/compiled/main.css
+++ b/assets/css/compiled/main.css
@@ -1,4 +1,4 @@
-/*! Congo v2.5.1 | MIT License | https://github.com/jpanther/congo */
+/*! Congo v2.5.2 | MIT License | https://github.com/jpanther/congo */
/*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com */
diff --git a/assets/css/main.css b/assets/css/main.css
index 43f50338..580b32d4 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -1,4 +1,4 @@
-/*! Congo v2.5.1 | MIT License | https://github.com/jpanther/congo */
+/*! Congo v2.5.2 | MIT License | https://github.com/jpanther/congo */
@tailwind base;
@tailwind components;
diff --git a/package.json b/package.json
index df2e9872..8adbff2a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hugo-congo-theme",
- "version": "2.5.1",
+ "version": "2.5.2",
"description": "Congo theme for Hugo",
"scripts": {
"preinstall": "rimraf assets/lib",