- 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.
105 lines
2.3 KiB
YAML
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 }} & {{ .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: 警告
|