Description
Return the link tag of a theme stylesheet.
Syntax
{{ <path_to_a_theme_asset_or_url> | stylesheet_tag(: <media>) }}
Example
{{ 'application.css' | stylesheet_tag }}
returns
<link href="/sites/<site_id>/theme/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
Options
Name | Type | Description |
---|---|---|
media | String | By default, its value is 'screen' |