Files
hugo-framework/i18n/zh-CN.yaml
wompmacho 835b118d1a migrate to decoupled Blowfish layout, fix TOC scrollspy, and update docs
- Theme Decoupling & Cleanup:
      - Fully decoupled and vendored the Blowfish theme directly into root directories (layouts/,
  assets/, static/, data/, i18n/).
      - De-registered and cleaned up legacy Git submodules (themes/blowfish, themes/hugo-admonitions)
  from the Git index to protect the build from upstream breakages.
      - Configured .gitignore to ignore development preview symlinks (content, static,
  config/_default/menus.en.toml), build folders (public/, resources/), and locks.

    - TOC & Layout Fixes:
      - Replaced the custom layouts/_default/single.html template with the Blowfish default to restore
  native container widths and the side-by-side flex layout.
      - Restored TOC to float on the right sidebar on desktop viewports and render inline on mobile
  viewports.
      - Fixed a parameter resolution bug in layouts/partials/toc.html by checking both .Site.Params.
  smartTOC and .Site.Params.article.smartTOC (where it is defined in params.toml).
      - Upgraded the TOC scrollspy JavaScript to target all '#TableOfContents' containers on the page,
  enabling highlight tracking on both desktop and mobile layouts.

    - Documentation Updates (README.md):
      - Restored YAML front matter metadata block at the top.
      - Added detailed notes on the CI/CD build process and Gitea runner deployment targets
  (/srv/www/docs-public and /srv/www/docs-private).
      - Added a categorized and sorted "Shortcodes Quick Reference" table at the top of the shortcodes
  section (ordered by Custom, Hugo Default, and Blowfish).
      - Documented custom shortcodes (Include, Screenshot, Raw HTML) and missing Hugo default
  shortcodes (Highlight, Instagram, Param, Ref, Relref, Twitter, Vimeo, Youtube).
      - Restructured headings to ensure all sub-shortcodes are H3, removed block break tags (<br/>),
  and appended horizontal separators (---) after H2 sections.
2026-06-06 19:26:33 +00:00

105 lines
2.3 KiB
YAML

global:
language: "简体中文"
article:
anchor_label: "锚点"
date: "{{ .Date }}"
date_updated: "更新于: {{ .Date }}"
draft: "草稿"
edit_title: "编辑内容"
reading_time:
one: "{{ .Count }} 分钟"
other: "{{ .Count }} 分钟"
reading_time_title: "预计阅读"
table_of_contents: "目录"
word_count:
one: "{{ .Count }} 字"
other: "{{ .Count }} 字"
views:
one: "{{ .Count }} 次浏览"
other: "{{ .Count }} 次浏览"
likes:
one: "{{ .Count }} 个赞"
other: "{{ .Count }} 个赞"
part_of_series: "这篇文章属于一个选集。"
part: "§"
this_article: "本文"
related_articles: "相关文章"
reply_by_email: "通过邮件回复"
reply_to: "回复 {{ .Title }}"
zen_mode_title:
enable: "啟用阅读模式"
disable: "停用阅读模式"
a11y:
title: "无障碍设定"
disable_blur: "禁用模糊效果"
disable_images: "禁用背景图片"
show_link_underline: "显示链接下划线"
font_size: "字体大小"
author:
byline_title: "作者"
code:
copy: "复制"
copied: "已复制"
error:
404_title: "找不到网页 :confused:"
404_error: "404 错误"
404_description: "您请求的页面似乎不存在。"
footer:
dark_appearance: "切换为深色模式"
light_appearance: "切换为浅色模式"
powered_by: "由 {{ .Hugo }} &amp; {{ .Theme }} 强力驱动"
list:
externalurl_title: "链接到外部网站"
no_articles: "这里还没有任何文章可以列出。"
nav:
scroll_to_top_title: "返回顶部"
skip_to_main: "跳过正文"
search:
open_button_title: "搜索 (/)"
close_button_title: "关闭 (Esc)"
input_placeholder: "搜索"
sharing:
email: "通过电子邮件发送"
facebook: "分享到 Facebook"
line: "分享到 LINE"
linkedin: "分享到 LinkedIn"
pinterest: "钉到 Pinterest"
reddit: "提交到 Reddit"
twitter: "分享到 Twitter"
bluesky: "发布到 Bluesky"
whatsapp: "通过 WhatsApp 分享"
telegram: "通过 Telegram 分享"
shortcode:
recent_articles: "最近的文章"
recent:
show_more: "显示更多"
admonition:
abstract: 摘要
bug: 错误
caution: 注意
danger: 危险
example: 示例
failure: 失败
important: 重要
info: 信息
note: 笔记
question: 问题
quote: 引用
success: 成功
tip: 提示
todo: 待办
warning: 警告