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 %} {% if theme.stylesheets !== undefined && theme.stylesheets.length > 0 %}
{# stylesheet list from _config.yml #} {# stylesheet list from _config.yml #}
{% for url in theme.stylesheets %} {% 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 %} {% endfor %}
{% endif %} {% endif %}

View file

@ -35,7 +35,7 @@
{% if page.photos && page.photos.length > 0%} {% if page.photos && page.photos.length > 0%}
{{Gallery(page.photos)}} {{Gallery(page.photos)}}
{% endif %} {% endif %}
<div class="flow-text entry"> <div class="entry">
{% autoescape false %}{{ page.content }}{% endautoescape %} {% autoescape false %}{{ page.content }}{% endautoescape %}
</div> </div>
</div> </div>