Skip to content
New issue

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

feat: 可设置静态资源的路径类型 #486

Closed
ruibaby opened this issue Jan 11, 2020 · 3 comments · Fixed by #563
Closed

feat: 可设置静态资源的路径类型 #486

ruibaby opened this issue Jan 11, 2020 · 3 comments · Fixed by #563
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects

Comments

@ruibaby
Copy link
Member

ruibaby commented Jan 11, 2020

概述

后台可设置静态资源的路径类型(绝对/相对),包括主题静态资源和附件。

动机

详细解释

@ruibaby ruibaby added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 11, 2020
@ruibaby ruibaby added this to To do in plan Jan 11, 2020
@ruibaby
Copy link
Member Author

ruibaby commented Jan 11, 2020

  • 主题内资源文件
  • 附件
  • 文章路由

@ruibaby
Copy link
Member Author

ruibaby commented Jan 16, 2020

相对路径

主题资源:/caicai_anatole/css/style.css

附件:/upload/2019/01/01/xxx.png

文章:/archives/hello-halo

绝对路径

主题资源:https://domain.com/caicai_anatole/css/style.css

附件:https://domain.com/upload/2019/01/01/xxx.png

文章:https://domain.com/archives/hello-halo

@ruibaby ruibaby moved this from To do to In progress in plan Feb 1, 2020
@ruibaby ruibaby self-assigned this Feb 1, 2020
@ruibaby
Copy link
Member Author

ruibaby commented Feb 1, 2020

目前已实现 主题资源附件,文章相关的地址需等待后续自定义路径实现之后才能做。

This was linked to pull requests Feb 11, 2020
@ruibaby ruibaby moved this from In progress to Done in plan Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
No open projects
plan
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant