halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
34.11k stars 9.72k forks source link

Request to support context path #7058

Open JohnNiang opened 3 days ago

JohnNiang commented 3 days ago

Prerequisites

Your current Halo version

2.20.10-SNAPSHOT

Describe this feature

Currently, more and more users want to run Halo with context path, e.g.: /blog, see the references for more. It's time to evaluate this feature even if we don't support it now.

References

Additional information

/kind feature /area core /area theme /area plugin

ruibaby commented 2 days ago

I suggest supporting it in the next major version for the following reasons:

  1. Based on the current version, the changes are too big and I don’t think it is suitable for version 2.x.
  2. The Halo theme and plugin ecosystem may need to be adapted accordingly, and it is appropriate to tell developers that such adaptation is needed in major versions.