Closed SylvainBigonneau closed 2 years ago
This fixes an issue when there are no blog posts but other content (such as author posts in the site example) : right now, the blog section still shows, because the condition only checks for site.RegularPages, without filtering for blog pages only.
site.RegularPages
This PR fixes that.
This fixes an issue when there are no blog posts but other content (such as author posts in the site example) : right now, the blog section still shows, because the condition only checks for
site.RegularPages
, without filtering for blog pages only.This PR fixes that.