From ea0939fdd19193dcda990d4509bd6a8d0372b1dd Mon Sep 17 00:00:00 2001 From: thisLight Date: Mon, 28 Dec 2020 10:32:48 +0800 Subject: [PATCH] update theme --- themes/cmd/layout/includes/layout.swig | 3 ++- themes/cmd/layout/post.swig | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/cmd/layout/includes/layout.swig b/themes/cmd/layout/includes/layout.swig index d66ad6e..f6df304 100644 --- a/themes/cmd/layout/includes/layout.swig +++ b/themes/cmd/layout/includes/layout.swig @@ -35,7 +35,8 @@ {% if theme.stylesheets !== undefined && theme.stylesheets.length > 0 %} {# stylesheet list from _config.yml #} {% for url in theme.stylesheets %} - + + {% endfor %} {% endif %} diff --git a/themes/cmd/layout/post.swig b/themes/cmd/layout/post.swig index cdf8345..ab505f4 100644 --- a/themes/cmd/layout/post.swig +++ b/themes/cmd/layout/post.swig @@ -35,7 +35,7 @@ {% if page.photos && page.photos.length > 0%} {{Gallery(page.photos)}} {% endif %} -
+
{% autoescape false %}{{ page.content }}{% endautoescape %}