Hexo-theme-next: how to set "archive page" to be "index page"

Created on 19 Dec 2019  ·  7Comments  ·  Source: theme-next/hexo-theme-next

I want to set "archive page" to be "index page" , i.e. I will see the archive page when I enter the blog site in the browser

Question Solved

All 7 comments

Thanks for opening this issue, maintainers will get back to you as soon as possible!

Issue-Label Bot is automatically applying the label Question to this issue, with a confidence of 0.66. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

At last, I have found a solution myself.That is use archive.swig file under themes/next/layout subdirectory to override the index.swig file in the same directory.

@stevenjoezhang thank you anyway for your reply.And I think this issue could be closed.

@stevenjoezhang thank you anyway for your reply.And I think this issue could be closed.

You can also close the issue 😂

At last, I have found a solution myself.That is use archive.swig file under themes/next/layout subdirectory to override the index.swig file in the same directory.

I think this is a better solution than the recommended one

Was this page helpful?
0 / 5 - 0 ratings