diff --git a/CHANGELOG.md b/CHANGELOG.md index c453c96e..e192a0bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,17 @@ 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` + +### 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 ### Changed @@ -617,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/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 @@ + 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 >}} | 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 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 @@