Modifier: favicon


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

icon: /assets/img/favicon.png
{{ icon | favicon }}
<link rel="shortcut icon" type="image/x-icon" href="/assets/img/favicon.png" />

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016