diff --git a/_config.yml b/_config.yml index 6219b5986..fea20c198 100644 --- a/_config.yml +++ b/_config.yml @@ -286,7 +286,7 @@ follow_me: # Dependencies: https://github.com/sergeyzwezdin/hexo-related-posts related_posts: enable: false - display_in_home: false + icon: fa fa-signs-post # Post edit # Easily browse and edit blog source code online. diff --git a/layout/_macro/post.njk b/layout/_macro/post.njk index 87d27eb98..7a5835024 100644 --- a/layout/_macro/post.njk +++ b/layout/_macro/post.njk @@ -98,10 +98,6 @@ {### END POST BODY ###} {#####################} - {%- if theme.related_posts.enable and (theme.related_posts.display_in_home or not is_index) %} - {{ partial('_partials/post/post-related.njk') }} - {%- endif %} -