mirror of https://github.com/jpanther/congo.git
commit
a178678bc7
14
CHANGELOG.md
14
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
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M16 64C16 28.7 44.7 0 80 0H304c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H80c-35.3 0-64-28.7-64-64V64zM144 448c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16s-7.2-16-16-16H160c-8.8 0-16 7.2-16 16zM304 64H80V384H304V64z"/></svg>
|
After Width: | Height: | Size: 316 B |
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"/></svg>
|
After Width: | Height: | Size: 378 B |
|
@ -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 >}} |
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noreferrer noopener"{{ end }}>
|
||||
{{- .Text | safeHTML -}}
|
||||
</a>
|
||||
<a
|
||||
href="{{ .Destination | safeURL }}"
|
||||
{{ with .Title }}title="{{ . }}"{{ end }}
|
||||
{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noreferrer noopener"{{ end }}
|
||||
>
|
||||
{{- .Text | safeHTML -}}
|
||||
</a>
|
|
@ -5,7 +5,7 @@
|
|||
<a
|
||||
class="px-1 transition-transform hover:scale-125 hover:text-primary-700 dark:hover:text-primary-400"
|
||||
style="will-change:transform;"
|
||||
href="{{ $url }}"
|
||||
href="{{ $url | safeURL }}"
|
||||
target="_blank"
|
||||
aria-label="{{ $name | title }}"
|
||||
rel="me noopener noreferrer"
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue