mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-03 07:50:28 +08:00
更新文档
This commit is contained in:
14
docs/theme/partials/copyright.html
vendored
Normal file
14
docs/theme/partials/copyright.html
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<div class="md-copyright">
|
||||||
|
<div class="md-copyright__highlight">
|
||||||
|
{% if config.copyright %}
|
||||||
|
{{ config.copyright }}
|
||||||
|
{% endif %}
|
||||||
|
</br>
|
||||||
|
{% if i18n_page_locale == 'zh-Hant' %}
|
||||||
|
本網站由 Netlify 部署並提供全球 CDN 邊緣網路加速
|
||||||
|
{% else %}
|
||||||
|
本网站由 Netlify 部署并提供全球 CDN 边缘网络加速
|
||||||
|
{% endif %}
|
||||||
|
<a href="https://www.netlify.com" title="Netlify" target="_blank"><img height="64" width="64" src="/assets/images/icon/netlify.svg" style="vertical-align: -0.6em"></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@@ -2,7 +2,7 @@ site_name: LinuxMirrors
|
|||||||
repo_name: LinuxMirrors
|
repo_name: LinuxMirrors
|
||||||
repo_url: https://github.com/SuperManito/LinuxMirrors
|
repo_url: https://github.com/SuperManito/LinuxMirrors
|
||||||
edit_uri: edit/main/docs/
|
edit_uri: edit/main/docs/
|
||||||
copyright: 'Copyright © 2025 <a href="https://github.com/SuperManito" target="_blank">SuperManito</a></br>本网站由 <a href="https://www.netlify.com" target="_blank">Netlify</a> 部署并提供全球 CDN 边缘网络加速 <a href="https://www.netlify.com" target="_blank"><img height="64" width="64" src="/assets/images/icon/netlify.svg" style="vertical-align: -0.6em"></a>'
|
copyright: 'Copyright © 2025 <a href="https://github.com/SuperManito" target="_blank">SuperManito</a>'
|
||||||
|
|
||||||
nav:
|
nav:
|
||||||
- "介绍": index.md
|
- "介绍": index.md
|
||||||
@@ -167,7 +167,6 @@ plugins:
|
|||||||
"社区": 社群
|
"社区": 社群
|
||||||
"赞助": 贊助
|
"赞助": 贊助
|
||||||
build: true
|
build: true
|
||||||
copyright: 'Copyright © 2025 <a href="https://github.com/SuperManito" target="_blank">SuperManito</a></br>本網站由 <a href="https://www.netlify.com" target="_blank">Netlify</a> 部署並提供全球 CDN 邊緣網路加速 <a href="https://www.netlify.com" target="_blank"><img height="64" width="64" src="/assets/images/icon/netlify.svg" style="vertical-align: -0.6em"></a>'
|
|
||||||
extra:
|
extra:
|
||||||
homepage: https://linuxmirrors.cn/zh-Hant
|
homepage: https://linuxmirrors.cn/zh-Hant
|
||||||
theme:
|
theme:
|
||||||
@@ -181,9 +180,9 @@ plugins:
|
|||||||
- media: "(prefers-color-scheme: dark)"
|
- media: "(prefers-color-scheme: dark)"
|
||||||
toggle:
|
toggle:
|
||||||
name: 暗黑模式
|
name: 暗黑模式
|
||||||
- search:
|
# - search:
|
||||||
lang: en
|
# lang: en
|
||||||
separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
|
# separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
|
||||||
- tags
|
- tags
|
||||||
- termynal
|
- termynal
|
||||||
# - minify:
|
# - minify:
|
||||||
|
|||||||
14
netlify.toml
Normal file
14
netlify.toml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
[[headers]]
|
||||||
|
for = "/*.js"
|
||||||
|
[headers.values]
|
||||||
|
Cache-Control = "public, max-age=31536000, must-revalidate"
|
||||||
|
|
||||||
|
[[headers]]
|
||||||
|
for = "/*.css"
|
||||||
|
[headers.values]
|
||||||
|
Cache-Control = "public, max-age=31536000, must-revalidate"
|
||||||
|
|
||||||
|
[[headers]]
|
||||||
|
for = "/*.png"
|
||||||
|
[headers.values]
|
||||||
|
Cache-Control = "public, max-age=31536000, must-revalidate"
|
||||||
Reference in New Issue
Block a user