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.
This commit is contained in:
2026-06-06 19:26:33 +00:00
Unverified
parent d329fe9dfb
commit 835b118d1a
443 changed files with 33405 additions and 1220 deletions

16
assets/icons/keyoxide.svg Normal file
View File

@@ -0,0 +1,16 @@
<svg width="1024" height="1024" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
<path fill="currentColor" d="M512 11.375a500.25 500.25 0 1 0 0 1001.25 500.25 500.25 0 0 0 0-1001.25z" mask="url(#cutout)"/>
<defs>
<mask id="cutout">
<rect width="1024" height="1024" fill="white"/>
<g fill="black">
<path d="M596.1 176c-27.5 0-49.8 22.3-49.8 49.8 0 16.6 8.2 31.8 21.4 41 3.8 2.6 6 2.9 6.5 7.1 0.5 4.1-5.1 7.9-5.1 7.9L308.7 484.1c-23.4 18.2-37.1 46.2-37.1 75.8v191.9c0 53.1 43.1 96.1 96.1 96.1s96.1-43.1 96.1-96.1V607.3l251-195.1c36.8-28.6 47.4-79.2 26.5-119.8-1.6-3-2.1-4.1-5.3-5.4-3.3-1.3-5.9 0.2-9.1 1.4-4.5 1.7-9.2 2.6-14.1 2.6-22.1 0-40.1-17.9-40.1-40.1 0-3 0.5-4.8-0.4-6.6-0.9-1.9-3.2-3.1-5.6-3.3-3.9-0.4-7.7-0.6-11.6-0.6-3.8 0-6.7-0.3-8.4-3.1-1.6-2.8-0.8-6-0.8-11 0-27.5-22.3-49.8-49.8-49.8z"/>
<path d="M464 508.6l245.3 163.5c44.1 29.4 56 89 26.6 133.1-29.4 44.1-89 56-133.1 26.6l-288-192C288 622.1 272 592.1 272 560V336c0-53 43-96 96-96s96 43 96 96z"/>
<circle cx="503.5" cy="185.8" r="34"/>
<circle cx="536" cy="119.9" r="22.2"/>
<circle cx="475.6" cy="103.6" r="15.5"/>
<circle cx="712.9" cy="250.5" r="27.2"/>
</g>
</mask>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB