feat: 支持设置 context path
Created by: LarryDpk
Overview
As I have other services on my servers, so I don't want to make my domain(e.g. xxx.com
) as the blog web context root path. I want to set it as xxx.com/blog
.
But after I set like that, many links became invalid.
Such as:
文章归档:xxx.com/archives
but not xxx.com/blog/archives
默认分类:xxx.com/categories/default
but not xxx.com/blog/categories/default
关于页面:xxx.com/s/about
but not xxx.com/blog/s/about
...
...
I wonder if you can impliment this, so we can use 'xxx.com/blog` pointing to the halo blog.