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:
88
i18n/ca.yaml
Normal file
88
i18n/ca.yaml
Normal file
@@ -0,0 +1,88 @@
|
||||
global:
|
||||
language: "CA"
|
||||
|
||||
article:
|
||||
anchor_label: "Àncora"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Actualització: {{ .Date }}"
|
||||
draft: "Esborrany"
|
||||
edit_title: "Edita el contingut"
|
||||
reading_time:
|
||||
one: "{{ .Count }} min"
|
||||
other: "{{ .Count }} min"
|
||||
reading_time_title: "Temps de lectura"
|
||||
table_of_contents: "Taula de contingut"
|
||||
word_count:
|
||||
one: "{{ .Count }} paraula"
|
||||
other: "{{ .Count }} paraules"
|
||||
views:
|
||||
one: "{{ .Count }} visualització"
|
||||
other: "{{ .Count }} visualitzacions"
|
||||
likes:
|
||||
one: "{{ .Count }} m'agrada"
|
||||
other: "{{ .Count }} m'agrades"
|
||||
part_of_series: "Aquest article pertany a una sèrie."
|
||||
part: "Part"
|
||||
this_article: "Aquest article"
|
||||
related_articles: "Relacionats"
|
||||
reply_by_email: "Respon per correu electrònic"
|
||||
reply_to: "Resposta a {{ .Title }}"
|
||||
zen_mode_title:
|
||||
enable: "Habilita el mode zen"
|
||||
disable: "Inhabilita el mode zen"
|
||||
|
||||
a11y:
|
||||
title: "Paràmetres d'accessibilitat"
|
||||
disable_blur: "Inhabilita el desenfocament"
|
||||
disable_images: "Inhabilita les imatges"
|
||||
show_link_underline: "Mostra el subratllat dels enllaços"
|
||||
font_size: "Mida de la lletra"
|
||||
|
||||
author:
|
||||
byline_title: "Autor"
|
||||
|
||||
code:
|
||||
copy: "Copia"
|
||||
copied: "S'ha copiat"
|
||||
|
||||
error:
|
||||
404_title: "No s'ha trobat la pàgina :confused:"
|
||||
404_error: "Error 404"
|
||||
404_description: "Sembla que la pàgina que heu sol·licitat no existeix."
|
||||
|
||||
footer:
|
||||
dark_appearance: "Canvia al mode fosc"
|
||||
light_appearance: "Canvia al mode clar"
|
||||
powered_by: "Desenvolupat amb {{ .Hugo }} i {{ .Theme }}"
|
||||
|
||||
list:
|
||||
externalurl_title: "Enllaç a un lloc extern"
|
||||
no_articles: "Encara no hi ha cap article per mostrar."
|
||||
|
||||
nav:
|
||||
scroll_to_top_title: "Torna a l'inici"
|
||||
skip_to_main: "Ves al contingut"
|
||||
|
||||
search:
|
||||
open_button_title: "Cerca (/)"
|
||||
close_button_title: "Tanca (Esc)"
|
||||
input_placeholder: "Cerca"
|
||||
|
||||
sharing:
|
||||
email: "Envia per correu electrònic"
|
||||
facebook: "Comparteix a Facebook"
|
||||
line: "Comparteix a LINE"
|
||||
linkedin: "Comparteix a LinkedIn"
|
||||
pinterest: "Comparteix a Pinterest"
|
||||
reddit: "Envia a Reddit"
|
||||
twitter: "Publica a Twitter"
|
||||
bluesky: "Publica a Bluesky"
|
||||
whatsapp: "Comparteix per WhatsApp"
|
||||
telegram: "Comparteix per Telegram"
|
||||
mastodon: "Comparteix a Mastodon"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Recents"
|
||||
|
||||
recent:
|
||||
show_more: "Mostra'n més"
|
||||
Reference in New Issue
Block a user