update theme

This commit is contained in:
thisLight 2020-12-28 10:32:48 +08:00
parent 5b3c45910d
commit ea0939fdd1
2 changed files with 3 additions and 2 deletions

View file

@ -35,7 +35,8 @@
{% if theme.stylesheets !== undefined && theme.stylesheets.length > 0 %}
{# stylesheet list from _config.yml #}
{% for url in theme.stylesheets %}
<link rel="stylesheet" href="{{ url }}">
<link rel="stylesheet" href="{{ url }}" media="print" onload="this.media='all'; this.onload=null;">
<noscript><link rel="stylesheet" href="{{ url }}"></noscript>
{% endfor %}
{% endif %}