Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display 'Posts' header only if the site has posts #144

Merged
merged 1 commit into from
Jul 6, 2021
Merged

Display 'Posts' header only if the site has posts #144

merged 1 commit into from
Jul 6, 2021

Conversation

jimit105
Copy link
Contributor

This is an enhancement or feature.

Summary

Display the 'Posts' section only if there are posts available.

Context

Currently, there is no check whether there are posts available or not.
Due to this, even if there are no posts, still the 'Posts' header was visible.
So I added a check to display the posts section only if the site has posts available.

@mmistakes
Copy link
Owner

Thanks for the PR!

@mmistakes mmistakes merged commit 9bf8bee into mmistakes:master Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants