Open sharing links in new window

pull/567/head
James Panther 2023-05-25 14:32:09 +10:00
parent 08e6b91252
commit 3f866acd50
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- ⚠️ Some parameters in the root of the Languages config file have been nested under the `params` block
- Search results now respect `showDate` value when displaying article metadata ([#511](https://github.com/jpanther/congo/pull/511))
- Adopted new Tailwind logical properties for RTL styling
- Article sharing links now open in a new tab/window
- Updated Dutch translation ([#544](https://github.com/jpanther/congo/pull/544))
- Upgrade to Tailwind v3.3.1 ([#523](https://github.com/jpanther/congo/pull/523))
- Upgrade to KaTeX v0.16.7 ([#538](https://github.com/jpanther/congo/pull/538), [#549](https://github.com/jpanther/congo/pull/549))

View File

@ -8,6 +8,8 @@
href="{{ printf .url $.Permalink $.Title }}"
title="{{ i18n .title }}"
aria-label="{{ i18n .title }}"
target="_blank"
rel="noopener noreferrer"
>{{ partial "icon.html" .icon }}</a
>
{{ end }}