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

"Delete" button missing when a page serves as the "homepage" #1183

Open
luchtech opened this issue Jun 18, 2024 · 0 comments
Open

"Delete" button missing when a page serves as the "homepage" #1183

luchtech opened this issue Jun 18, 2024 · 0 comments

Comments

@luchtech
Copy link

Hi!

I had a very odd experience when a page in a collection is set as the homepage. I was playing around with the Stumblr starter kit and I was finding a way to create a home page to see all the posts. While studying the repo, I found out that there's already an antler file for the homepage that I can use. So when I tried deleting the test homepage I created, I noticed that there's no "Delete" button.

After some chats at Discord, I found out that the "homepage" is somehow protected by default and that I have to set another page as the homepage first before deleting the test homepage.

So yeah, my request would be something like instead of not showing the "Delete" button for homepages, how about a greyed out "Delete" button with an info hover that says something like "Deletion is disabled for pages marked as the homepage."

I hope you can consider this request of mine. Thanks!

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