Compare commits

...

7 Commits

Author SHA1 Message Date
Wolf Noble 68f297c97b
Merge 984bb01c79 into e3015b9006 2023-11-05 01:06:14 -06:00
James Panther e3015b9006
🔨 Preparing release v2.7.4 2023-11-05 10:14:23 +11:00
James Panther e4fafd7359
Merge branch 'dev' of https://github.com/jpanther/congo into dev 2023-11-05 10:11:09 +11:00
James Panther 79a66d4fda
🐛 Prevent whitespace at start of `render-link`
Fixes #695
2023-11-05 10:11:04 +11:00
James Panther 9b30ac01db
🔀 Merge pull request #694 from ned21/threads-icon
Add icon for the threads social network
2023-11-03 08:26:22 +11:00
Nathan Dimmock 03e673e6a5 Add icon for the threads social network
Import FontAwesome icon v6.4.2 for 'threads' and add it to list of all
available icons on the exampleSite.
2023-10-29 17:28:29 +09:00
Wolf Noble 984bb01c79 🚸 🩹 add logic braces to sidestep image sizing when using a vector image for the author 2023-10-26 20:31:15 -05:00
12 changed files with 24 additions and 8 deletions

View File

@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased] ## [Unreleased]
## [2.7.4] - 2023-11-05
### Fixed
- Links with non-whitespace characters preceeding them are prefixed with a space ([#695](https://github.com/jpanther/congo/issues/695))
## [2.7.3] - 2023-10-31 ## [2.7.3] - 2023-10-31
### Fixed ### Fixed
@ -774,7 +780,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 - Advanced customisation using simple Tailwind colour definitions and styles
- Fully documented - Fully documented
[Unreleased]: https://github.com/jpanther/congo/compare/v2.7.3...HEAD [Unreleased]: https://github.com/jpanther/congo/compare/v2.7.4...HEAD
[2.7.4]: https://github.com/jpanther/congo/compare/v2.7.3...v2.7.4
[2.7.3]: https://github.com/jpanther/congo/compare/v2.7.2...v2.7.3 [2.7.3]: https://github.com/jpanther/congo/compare/v2.7.2...v2.7.3
[2.7.2]: https://github.com/jpanther/congo/compare/v2.7.1...v2.7.2 [2.7.2]: https://github.com/jpanther/congo/compare/v2.7.1...v2.7.2
[2.7.1]: https://github.com/jpanther/congo/compare/v2.7.0...v2.7.1 [2.7.1]: https://github.com/jpanther/congo/compare/v2.7.0...v2.7.1

View File

@ -1,4 +1,4 @@
/*! Congo v2.7.3 | MIT License | https://github.com/jpanther/congo */ /*! Congo v2.7.4 | MIT License | https://github.com/jpanther/congo */
/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com */ /*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com */

View File

@ -1,4 +1,4 @@
/*! Congo v2.7.3 | MIT License | https://github.com/jpanther/congo */ /*! Congo v2.7.4 | MIT License | https://github.com/jpanther/congo */
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M331.5 235.7c2.2 .9 4.2 1.9 6.3 2.8c29.2 14.1 50.6 35.2 61.8 61.4c15.7 36.5 17.2 95.8-30.3 143.2c-36.2 36.2-80.3 52.5-142.6 53h-.3c-70.2-.5-124.1-24.1-160.4-70.2c-32.3-41-48.9-98.1-49.5-169.6V256v-.2C17 184.3 33.6 127.2 65.9 86.2C102.2 40.1 156.2 16.5 226.4 16h.3c70.3 .5 124.9 24 162.3 69.9c18.4 22.7 32 50 40.6 81.7l-40.4 10.8c-7.1-25.8-17.8-47.8-32.2-65.4c-29.2-35.8-73-54.2-130.5-54.6c-57 .5-100.1 18.8-128.2 54.4C72.1 146.1 58.5 194.3 58 256c.5 61.7 14.1 109.9 40.3 143.3c28 35.6 71.2 53.9 128.2 54.4c51.4-.4 85.4-12.6 113.7-40.9c32.3-32.2 31.7-71.8 21.4-95.9c-6.1-14.2-17.1-26-31.9-34.9c-3.7 26.9-11.8 48.3-24.7 64.8c-17.1 21.8-41.4 33.6-72.7 35.3c-23.6 1.3-46.3-4.4-63.9-16c-20.8-13.8-33-34.8-34.3-59.3c-2.5-48.3 35.7-83 95.2-86.4c21.1-1.2 40.9-.3 59.2 2.8c-2.4-14.8-7.3-26.6-14.6-35.2c-10-11.7-25.6-17.7-46.2-17.8H227c-16.6 0-39 4.6-53.3 26.3l-34.4-23.6c19.2-29.1 50.3-45.1 87.8-45.1h.8c62.6 .4 99.9 39.5 103.7 107.7l-.2 .2zm-156 68.8c1.3 25.1 28.4 36.8 54.6 35.3c25.6-1.4 54.6-11.4 59.5-73.2c-13.2-2.9-27.8-4.4-43.4-4.4c-4.8 0-9.6 .1-14.4 .4c-42.9 2.4-57.2 23.2-56.2 41.8l-.1 .1z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -71,6 +71,7 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin
| sun | {{< icon sun >}} | | sun | {{< icon sun >}} |
| tag | {{< icon tag >}} | | tag | {{< icon tag >}} |
| telegram | {{< icon telegram >}} | | telegram | {{< icon telegram >}} |
| threads | {{< icon threads >}} |
| tiktok | {{< icon tiktok >}} | | tiktok | {{< icon tiktok >}} |
| translate | {{< icon translate >}} | | translate | {{< icon translate >}} |
| triangle-exclamation | {{< icon triangle-exclamation >}} | | triangle-exclamation | {{< icon triangle-exclamation >}} |

View File

@ -71,6 +71,7 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued
| sun | {{< icon sun >}} | | sun | {{< icon sun >}} |
| tag | {{< icon tag >}} | | tag | {{< icon tag >}} |
| telegram | {{< icon telegram >}} | | telegram | {{< icon telegram >}} |
| threads | {{< icon threads >}} |
| tiktok | {{< icon tiktok >}} | | tiktok | {{< icon tiktok >}} |
| translate | {{< icon translate >}} | | translate | {{< icon translate >}} |
| triangle-exclamation | {{< icon triangle-exclamation >}} | | triangle-exclamation | {{< icon triangle-exclamation >}} |

View File

@ -71,6 +71,7 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ
| sun | {{< icon sun >}} | | sun | {{< icon sun >}} |
| tag | {{< icon tag >}} | | tag | {{< icon tag >}} |
| telegram | {{< icon telegram >}} | | telegram | {{< icon telegram >}} |
| threads | {{< icon threads >}} |
| tiktok | {{< icon tiktok >}} | | tiktok | {{< icon tiktok >}} |
| translate | {{< icon translate >}} | | translate | {{< icon translate >}} |
| triangle-exclamation | {{< icon triangle-exclamation >}} | | triangle-exclamation | {{< icon triangle-exclamation >}} |

View File

@ -71,6 +71,7 @@ The full list of built-in icons and their corresponding names can referenced bel
| sun | {{< icon sun >}} | | sun | {{< icon sun >}} |
| tag | {{< icon tag >}} | | tag | {{< icon tag >}} |
| telegram | {{< icon telegram >}} | | telegram | {{< icon telegram >}} |
| threads | {{< icon threads >}} |
| tiktok | {{< icon tiktok >}} | | tiktok | {{< icon tiktok >}} |
| translate | {{< icon translate >}} | | translate | {{< icon translate >}} |
| triangle-exclamation | {{< icon triangle-exclamation >}} | | triangle-exclamation | {{< icon triangle-exclamation >}} |

View File

@ -1,5 +1,5 @@
{{ $link := .Destination }} {{- $link := .Destination -}}
{{ $isRemote := strings.HasPrefix $link "http" }} {{- $isRemote := strings.HasPrefix $link "http" -}}
{{- if not $isRemote }} {{- if not $isRemote }}
{{ $url := urls.Parse .Destination }} {{ $url := urls.Parse .Destination }}
{{ if $url.Path }} {{ if $url.Path }}

View File

@ -3,7 +3,9 @@
{{ with .Site.Author.image }} {{ with .Site.Author.image }}
{{ $authorImage := resources.Get . }} {{ $authorImage := resources.Get . }}
{{ if $authorImage }} {{ if $authorImage }}
{{ $authorImage := $authorImage.Fill "192x192 Center" }} {{- if ne $authorImage.MediaType.SubType "svg" }}
{{ $authorImage := $authorImage.Fill "192x192 Center" }}
{{- end }}
<img <img
class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full" class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full"
width="96" width="96"

View File

@ -7,7 +7,9 @@
{{ with .Site.Author.image }} {{ with .Site.Author.image }}
{{ $authorImage := resources.Get . }} {{ $authorImage := resources.Get . }}
{{ if $authorImage }} {{ if $authorImage }}
{{ $authorImage := $authorImage.Fill "288x288 Center" }} {{- if ne $authorImage.MediaType.SubType "svg" }}
{{ $authorImage := $authorImage.Fill "288x288 Center" }}
{{- end }}
<img <img
class="mb-2 h-36 w-36 rounded-full" class="mb-2 h-36 w-36 rounded-full"
width="144" width="144"

View File

@ -1,6 +1,6 @@
{ {
"name": "hugo-congo-theme", "name": "hugo-congo-theme",
"version": "2.7.3", "version": "2.7.4",
"description": "Congo theme for Hugo", "description": "Congo theme for Hugo",
"scripts": { "scripts": {
"preinstall": "rimraf assets/lib", "preinstall": "rimraf assets/lib",