Skip to content

Commit

Permalink
Docs: 更新 customPartials 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Dec 2, 2024
1 parent db37f3c commit 6bf6826
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,8 @@ disableThemeInject = false
"inject/component-projects.html",
"inject/shortcode-rewards.html",
]
menuDesktop = []
menuMobile = []
profile = [
"custom/profile.html",
]
Expand Down
2 changes: 2 additions & 0 deletions content/en/documentation/advanced/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ Next, taking the [component-projects] component as an example, we will introduce
[params]
[params.customPartials]
head = []
menuDesktop = []
menuMobile = []
profile = []
aside = []
comment = []
Expand Down
2 changes: 2 additions & 0 deletions content/en/references/blocks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Custom partials must be stored in the `/layouts/partials/` directory.
[params]
[params.customPartials]
head = []
menuDesktop = []
menuMobile = []
profile = []
aside = []
comment = []
Expand Down
2 changes: 2 additions & 0 deletions content/zh-cn/documentation/advanced/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ li[data-task='tip'] {
[params]
[params.customPartials]
head = []
menuDesktop = []
menuMobile = []
profile = []
aside = []
comment = []
Expand Down
2 changes: 2 additions & 0 deletions content/zh-cn/references/blocks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ cp themes/FixIt/layouts/partials/custom.html layouts/partials/custom.html
[params]
[params.customPartials]
head = []
menuDesktop = []
menuMobile = []
profile = []
aside = []
comment = []
Expand Down

0 comments on commit 6bf6826

Please sign in to comment.