diff --git a/layout/_partial/main/article/related_posts.ejs b/layout/_partial/main/article/related_posts.ejs index 6b84a31..04c883d 100644 --- a/layout/_partial/main/article/related_posts.ejs +++ b/layout/_partial/main/article/related_posts.ejs @@ -1,5 +1,16 @@ - +<% +function layoutDiv() { + if (theme.article.related_posts.enable) { + var el = ''; + el += ''; + return el; + } + return; +} +%> +<%- layoutDiv() %>