Skip to content

Commit 8286e9f

Browse files
committed
Hide drafts from homepage
1 parent 8408f35 commit 8286e9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/_includes/post.macros.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ params:
835835
banner_title='Featured Posts',
836836
class=none
837837
) %}
838-
{%- set featured = collections.posts | isHome(limit) -%}
838+
{%- set featured = collections.posts | getPublic | isHome(limit) -%}
839839
{%- if featured | length -%}
840840
{{ list(
841841
featured,

0 commit comments

Comments
 (0)