Closed joshanderson99 closed 6 years ago
It appears page.ejs, referred to above, might be an entry point, pages received being passed to article.ejs. But then it seems that entry point is only getting post pages, plain pages being ignored. Maybe setting a layout in page front matter could get plain pages working within the theme.
Solved. Hexo doesn't automatically process pages I discovered, unlike posts. The page.ejs fragment is invoked when a page is explicitly invoked in the browser.
I've got pages as well as posts (in docs treated as separate "layouts"), and want to show the these pages from the theme's menu bar, similar to the Archives page. Though this is not strictly a theme issue, more how to in its extension, do you know how this might be done, or know of a relevant article that may help? In the theme there's a page.ejs, but it's content refers to a post.