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

More Posts button #680

Merged
merged 4 commits into from
Oct 30, 2022
Merged

More Posts button #680

merged 4 commits into from
Oct 30, 2022

Conversation

BernatBC
Copy link
Contributor

@BernatBC BernatBC commented Oct 29, 2022

Description

Added 'More Posts' button on recent posts section. To enable it just add in recent-posts.yaml file the following line showButton: true.

Result

Screenshot_20221029_233818

Copy link
Contributor

@JCasahuga JCasahuga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a nice feature!

@BernatBC BernatBC marked this pull request as draft October 30, 2022 06:31
@BernatBC BernatBC marked this pull request as ready for review October 30, 2022 07:35
@BernatBC
Copy link
Contributor Author

I've added the feature to the guide.
The pull request for the guide is hugo-toha/guides#213.

Copy link
Member

@hossainemruz hossainemruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @BernatBC for the PR. Can you please acknowledge the comments.

layouts/partials/sections/recent-posts.html Outdated Show resolved Hide resolved
layouts/partials/sections/recent-posts.html Show resolved Hide resolved
@hossainemruz hossainemruz added enhancement New feature or request automerge labels Oct 30, 2022
@hossainemruz hossainemruz merged commit 7175b0d into hugo-toha:main Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants