mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
🌐 Optimize Chinese documentation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "Partials"
|
||||
title: "局部模板(Partials)"
|
||||
weight: 9
|
||||
draft: false
|
||||
description: "所有 Blowfish 可以配置的 Partials"
|
||||
@@ -123,4 +123,4 @@ Blowfish 还提供了许多扩展 partial,可以扩展基本功能。
|
||||
|
||||
本主题允许在模板的`<head>`和`<footer>`部分直接插入附加代码。这些代码可用于提供不属于主题的脚本或其他逻辑。
|
||||
|
||||
只需创建`layouts/partials/extend-head.html`或`layouts/partials/extend-footer.html`,这些部分就会自动包含在网站构建中。这两个 partial 将作为最后一项注入到 `<head>` 和 `<footer>` 中,因此它们可用于覆盖主题默认值。
|
||||
只需创建`layouts/partials/extend-head.html`或`layouts/partials/extend-footer.html`,这些部分就会自动包含在网站构建中。这两个 partial 将作为最后一项注入到 `<head>` 和 `<footer>` 中,因此它们可用于覆盖主题默认值。
|
||||
|
||||
Reference in New Issue
Block a user