Skip to content Skip to footer navigation
You are reading the Statamic 6 Alpha docs. πŸ‘€

Favicon Modifier

Given a valid URL will generate a proper favicon meta tag.

icon: /assets/img/favicon.png
{{ icon | favicon }}
{!! Statamic::modify($icon)->favicon() !!}
<link rel="shortcut icon" type="image/x-icon" href="/assets/img/favicon.png">