Add "external" property to the simplified link array

Created on 27 April 2021, over 3 years ago
Updated 2 August 2023, over 1 year ago

Problem/Motivation

As it stands right now, the only link properties other than the text and URL are 'active' and 'active-trail'.
Another bit of information about links that could be useful when theming is to know whether a link is external or not.

For example, you may want to open external links in a new tab, give it different styling, and so on.

Proposed resolution

Get the 'external' property from the url object and put it in the simplified link array.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium Joris Handstanger

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024