We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前主题预览功能是在页面路由添加 preview-theme 参数来实现的,所以在切换页面的时候同样也需要携带这个参数,如果主题没有适配,那么将不再是预览主题的状态。
目前主题适配的方式是在所有动态超链接的语法中使用 @{} 包裹实际的路由变量,但目前似乎没有在开发文档中提到,后续可以专门提供一篇文档来说明。
如果链接没有使用 @{} 包裹那么可能无法完整支持预览功能
@{}
Originally posted by @ruibaby in halo-dev/halo#5700 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
目前主题预览功能是在页面路由添加 preview-theme 参数来实现的,所以在切换页面的时候同样也需要携带这个参数,如果主题没有适配,那么将不再是预览主题的状态。
目前主题适配的方式是在所有动态超链接的语法中使用 @{} 包裹实际的路由变量,但目前似乎没有在开发文档中提到,后续可以专门提供一篇文档来说明。
如果链接没有使用
@{}
包裹那么可能无法完整支持预览功能Originally posted by @ruibaby in halo-dev/halo#5700 (comment)
The text was updated successfully, but these errors were encountered: