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

[Feature Request]: New Block/WYSIWYG tool -> Featured Post(s) Cards #1673

Open
bjazmoore opened this issue Sep 6, 2024 · 0 comments
Open

Comments

@bjazmoore
Copy link

Feature Description

Now that Pages are supported it seems natural to want to add to a page card(s) that automatically display one or more featured post from a blog. This would allow the user to have a specially designed landing page as the home page and add to it one or more featured posts automagically.

Perhaps the cards could be formatted using a handlebars file in the partials specially designed for a featured post (or posts). This would be the responsibility of the theme developer to support. Publii would simple pass the content to be formatted to the specified handlebars file that would be added into the page at render.

Support for the toolbar/block would be enabled or disabled at the theme level and the editor would show or hide the feature depending on whether it is supported.

It would be nice to be able to specify the number of featured posts from 1 to ? as well as the sort order.

Big ask. Thanks for your consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant