You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add some static page to show my personal information in my blog. To keep the style consistent, I want to use the layout.ejs just like the index.ejs in my theme. So, I write some ejs file in theme/layout/ but it doesn't work.
If I write some ejs in /theme/layout, should this file be rendered? is that only the special name(e.g. index.ejs, post.ejs) will be rendered? Can I rendering my own ejs file (combined with layout.ejs) by setting some configuration?
I try to use script and Hexo API to render my ejs file, however, it can not combine the layout.ejs.
I am a freshman with Hexo.
Thanks for replying. Wish you a nice day.
The text was updated successfully, but these errors were encountered:
For example, on default theme landscape without tags.ejs. You can't visited https://hexo.io/hexo-theme-landscape/tags/, but https://hexo.io/hexo-theme-landscape/tags/Bar/ can.
modify theme/landscape/layout/layout.ejs and add page.layout == 'tags'
I want to add some static page to show my personal information in my blog. To keep the style consistent, I want to use the layout.ejs just like the index.ejs in my theme. So, I write some ejs file in theme/layout/ but it doesn't work.
If I write some ejs in /theme/layout, should this file be rendered? is that only the special name(e.g. index.ejs, post.ejs) will be rendered? Can I rendering my own ejs file (combined with layout.ejs) by setting some configuration?
I try to use script and Hexo API to render my ejs file, however, it can not combine the layout.ejs.
I am a freshman with Hexo.
Thanks for replying. Wish you a nice day.
The text was updated successfully, but these errors were encountered: