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

87
i18n/gl.yaml Normal file
View File

@@ -0,0 +1,87 @@
global:
language: "GL"
article:
anchor_label: "Áncora"
date: "{{ .Date }}"
date_updated: "Actualizado: {{ .Date }}"
draft: "Borrador"
edit_title: "Editar contido"
reading_time:
one: "{{ .Count }} min"
other: "{{ .Count }} mins"
reading_time_title: "Tempo de lectura"
table_of_contents: "Táboa de contido"
word_count:
one: "{{ .Count }} palabra"
other: "{{ .Count }} palabras"
views:
one: "{{ .Count }} visualización"
other: "{{ .Count }} visualizacións"
likes:
one: "{{ .Count }} gústame"
other: "{{ .Count }} gústame"
part_of_series: "Este artigo é parte dunha serie."
part: "Parte"
this_article: "Este artigo"
related_articles: "Relacionados"
reply_by_email: "Responder por email"
reply_to: "Resposta a {{ .Title }}"
zen_mode_title:
enable: "Activar modo zen"
disable: "Desactivar modo zen"
a11y:
title: "Axustes de accesibilidade"
disable_blur: "Desactivar o desenfoque"
disable_images: "Desactivar as imaxes"
show_link_underline: "Mostrar subliñado da ligazón"
font_size: "Tamaño de letra"
author:
byline_title: "Autor"
code:
copy: "Copiar"
copied: "Copiado"
error:
404_title: "Páxina non atopada :confused:"
404_error: "Erro 404"
404_description: "Parece que a páxina que solicitaches non existe."
footer:
dark_appearance: "Cambiar a modo escuro"
light_appearance: "Cambiar a modo claro"
powered_by: "Desenvolvida con {{ .Hugo }} &amp; {{ .Theme }}"
list:
externalurl_title: "Ligazón a páxina externa"
no_articles: "Ainda non hai artigos para listar aquí."
nav:
scroll_to_top_title: "Ir arriba"
skip_to_main: "Ir ó contido"
search:
open_button_title: "Procurar (/)"
close_button_title: "Pechar (Esc)"
input_placeholder: "Procurar"
sharing:
email: "Enviar vía email"
facebook: "Compartir en Facebook"
line: "Compartir en LINE"
linkedin: "Compartir en LinkedIn"
pinterest: "Pinear en Pinterest"
reddit: "Publicar en Reddit"
twitter: "Tuitear en Twitter"
bluesky: "Publicar en Bluesky"
whatsapp: "Compartir vía WhatsApp"
telegram: "Compartir vía Telegram"
shortcode:
recent_articles: "Recente"
recent:
show_more: "Mostrar máis"