From a2bda1789b133a1eba736207884dc883042a3f74 Mon Sep 17 00:00:00 2001 From: StevenJoeZhang <1119186082@qq.com> Date: Fri, 11 Jan 2019 23:28:04 +0800 Subject: [PATCH 1/2] commit --- layout/_layout.swig | 4 +- layout/_macro/post.swig | 43 +++++++--------------- layout/_partials/github-banner.swig | 2 +- layout/_third-party/comments/changyan.swig | 5 +-- layout/_third-party/comments/disqus.swig | 13 ++++--- layout/_third-party/comments/index.swig | 19 +++++----- layout/_third-party/comments/valine.swig | 2 +- layout/_third-party/copy-code.swig | 10 ++--- 8 files changed, 40 insertions(+), 58 deletions(-) diff --git a/layout/_layout.swig b/layout/_layout.swig index 1198a2c4aa..bbbb3da5fd 100644 --- a/layout/_layout.swig +++ b/layout/_layout.swig @@ -25,9 +25,9 @@
- {% set container_class = "container " %} + {% set container_class = 'container' %} {% if theme.sidebar.position %} - {% set container_class = container_class + 'sidebar-position-' + theme.sidebar.position %} + {% set container_class = container_class + ' sidebar-position-' + theme.sidebar.position %} {% endif %}