diff --git a/layout/_partial/sidebar/index.ejs b/layout/_partial/sidebar/index.ejs
index ec9d527..99b2890 100755
--- a/layout/_partial/sidebar/index.ejs
+++ b/layout/_partial/sidebar/index.ejs
@@ -86,38 +86,38 @@ function layoutWidgets() {
return el;
}
function layoutFooterDiv() {
- if (page.layout !== 'wiki' && theme.footer.social) {
- var el = '';
- return el;
- } else {
- return '';
+ const { social } = theme.footer
+ if (social == null) {
+ return ''
}
+ var el = '';
+ return el;
}
function layoutLogo() {
diff --git a/layout/_partial/sidebar/menu.ejs b/layout/_partial/sidebar/menu.ejs
index 318e553..ec96834 100644
--- a/layout/_partial/sidebar/menu.ejs
+++ b/layout/_partial/sidebar/menu.ejs
@@ -7,9 +7,13 @@ function layoutDiv() {
if (item == undefined || item.length == 0) {
continue
}
- el += `