Add rel="stylesheet" to <link> tag (ref: #3772)

This commit is contained in:
Takeshi KOMIYA
2017-06-10 11:56:56 +09:00
parent 6cf78daeaa
commit e2a56d9d5b

View File

@@ -109,7 +109,7 @@
{%- if css|attr("rel") %}
<link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
{%- else %}
<link href="{{ pathto(css, 1) }}" type="text/css" />
<link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" />
{%- endif %}
{%- endfor %}
{%- endmacro %}