mirror of
https://github.com/imfing/hextra.git
synced 2025-08-25 10:46:41 -04:00
feat(links): add an option for external link decoration (#780)
* chore: add icons * feat: add option to flag outbound links * chore: generate * docs: add configuration * chore: use with the example site * chore: use one icon with rotation
This commit is contained in:

committed by
GitHub

parent
f297d24189
commit
a19de798b6
@@ -442,3 +442,12 @@ The field `message` supports Markdown syntax.
|
||||
|
||||
If you want to use template syntax, you can define the partial in `layouts/_partials/custom/banner.html`.
|
||||
In this case, the field `message` will be ignored.
|
||||
|
||||
### External Link Decoration
|
||||
|
||||
Adds an arrow icon to external links (default: false) when rendering links from Markdown.
|
||||
|
||||
```yaml
|
||||
params:
|
||||
externalLinkDecoration: true
|
||||
```
|
||||
|
Reference in New Issue
Block a user