Html::rel()
Add noopener & noreferrer to rels when target is _blank
Parameters
Name | Type | Default | Description |
---|---|---|---|
$rel | string |
null |
Current rel value |
$target | string |
null |
Current target value |
Return type
string
|null
Parent class
Kirby\Cms\Html
inherited from Kirby\Toolkit\Html