diff --git a/layout/_macro/post.swig b/layout/_macro/post.swig index 3045e01b0b..286fb3c3d2 100644 --- a/layout/_macro/post.swig +++ b/layout/_macro/post.swig @@ -220,7 +220,7 @@ {#####################} {%- if theme.related_posts.enable and (theme.related_posts.display_in_home or not is_index) %} - {% include '../_partials/post/post-related.swig' %} + {{ partial('_partials/post/post-related.swig') }} {%- endif %} {%- if not is_index %} @@ -240,7 +240,7 @@ {%- endif %} {%- if theme.creative_commons.license and theme.creative_commons.post %} - {% include '../_partials/post/post-copyright.swig' %} + {{ partial('_partials/post/post-copyright.swig') }} {%- endif %}