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 created a new page which added a folder to the source folder called about. The about folder contains an index folder with assets, and an index.md file. When I run hexo server, url_for(path) in the header.ejs file on the homepage returns /index.html. But, when I run hexo generate, url_for(path) on the homepage returns /about/index.html. I tested this by adding
<%- url_for(path) %>
to header.ejs right under the comment that logs message_isHome to the console.
The text was updated successfully, but these errors were encountered:
I created a new page which added a folder to the source folder called about. The about folder contains an index folder with assets, and an index.md file. When I run hexo server, url_for(path) in the header.ejs file on the homepage returns /index.html. But, when I run hexo generate, url_for(path) on the homepage returns /about/index.html. I tested this by adding
<%- url_for(path) %>
to header.ejs right under the comment that logs message_isHome to the console.The text was updated successfully, but these errors were encountered: