touch_icon

Add apple touch icon.

Specification

{{ icon_filename | touch_icon }} or
{{ icon_filename | touch_icon: icon_sizes }}

Parameter Description Example Values
icon_filename (required) The icon filename. “/apple-touch-icon.png”
icon_sizes The icon’s size. Default size is 57x57 “57x57”

Examples

Define the apple touch icon.

{{ "/apple-touch-icon.png" | touch_icon }}

Define the apple touch icon with the element’s size 72 x 72.

{{ "/apple-touch-icon.png" | touch_icon: "72x72" }}