Skip to content

Commit

Permalink
Fix link field tag example
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustMiller committed Dec 11, 2024
1 parent 894b208 commit 273a6b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/5.x/reference/field-types/link.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ This is the default behavior when using a link’s `link` property. Craft also a
href: link.value,
target: link.target,
rel: link.target == '_blank' ? 'noopener noreferrer' : null,
}, link.label) }}
text: link.label,
}) }}
{# ...produces output like... #}
Expand Down

0 comments on commit 273a6b8

Please sign in to comment.