kubrick2 icon indicating copy to clipboard operation
kubrick2 copied to clipboard

Missing front-page template

Open emrikol opened this issue 3 years ago • 2 comments

You cannot assign a static page to the front page and have it display properly. I'm still new to full site editing, so I could be missing something, but would a new templates/front-page.html file be enough?

emrikol avatar Jan 04 '22 23:01 emrikol

It looks like 2022 has a "home.html" template instead https://github.com/WordPress/twentytwentytwo/tree/trunk/templates Should we try that to match their behavior? Is this something you can try?

youknowriad avatar Jan 05 '22 08:01 youknowriad

That seems like it works!

When a static home page is set, index.html will display the selected page contents (with a modified Query loop to "Inherit query from template") and home.html will display latest posts.

emrikol avatar Jan 05 '22 14:01 emrikol