diff --git a/_config.yml.example b/_config.yml.example
index ce7955a..f2ca1be 100644
--- a/_config.yml.example
+++ b/_config.yml.example
@@ -22,7 +22,7 @@ customize:
location: Harbin, China
follow: https://github.com/ppoffice/
highlight: monokai
- sidebar: right # sidebar position, options: left, right
+ sidebar: right # sidebar position, options: left, right or leave it empty
thumbnail: true # enable posts thumbnail, options: true, false
favicon: # path to favicon
social_links:
diff --git a/layout/comment/index.ejs b/layout/comment/index.ejs
index 2417800..f69a0fa 100644
--- a/layout/comment/index.ejs
+++ b/layout/comment/index.ejs
@@ -1,19 +1,17 @@
<% if (post.comments) { %>
-
<% } %>
\ No newline at end of file
diff --git a/layout/common/sidebar.ejs b/layout/common/sidebar.ejs
index ba38c79..462873f 100644
--- a/layout/common/sidebar.ejs
+++ b/layout/common/sidebar.ejs
@@ -1,6 +1,8 @@
+<% if (Array.isArray(theme.widgets) && theme.widgets.length > 0) { %>
\ No newline at end of file
+
+<% } %>
\ No newline at end of file