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:
78
i18n/pt-BR.yaml
Normal file
78
i18n/pt-BR.yaml
Normal file
@@ -0,0 +1,78 @@
|
||||
global:
|
||||
language: "PT-BR"
|
||||
|
||||
article:
|
||||
anchor_label: "Âncora"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Atualizado em: {{ .Date }}"
|
||||
draft: "Rascunho"
|
||||
edit_title: "Editar Conteúdo"
|
||||
reading_time:
|
||||
one: "{{ .Count }} minuto"
|
||||
other: "{{ .Count }} minutos"
|
||||
reading_time_title: "Tempo de leitura"
|
||||
table_of_contents: "Tabela de conteúdos"
|
||||
word_count:
|
||||
one: "{{ .Count }} palavra"
|
||||
other: "{{ .Count }} palavras"
|
||||
views:
|
||||
one: "{{ .Count }} visualização"
|
||||
other: "{{ .Count }} visualizaçōes"
|
||||
part_of_series: "Este artigo faz parte de uma série de artigos."
|
||||
part: "Parte"
|
||||
this_article: "Esse Artigo"
|
||||
related_articles: "Relacionados"
|
||||
reply_by_email: "Responder por email"
|
||||
reply_to: "Resposta a {{ .Title }}"
|
||||
|
||||
a11y:
|
||||
title: "Configurações de acessibilidade"
|
||||
disable_blur: "Desativar desfoque"
|
||||
disable_images: "Desativar imagens"
|
||||
show_link_underline: "Mostrar sublinhado de links"
|
||||
font_size: "Tamanho da fonte"
|
||||
|
||||
author:
|
||||
byline_title: "Autor"
|
||||
|
||||
code:
|
||||
copy: "Copiar"
|
||||
copied: "Copiado"
|
||||
|
||||
error:
|
||||
404_title: "Página não encontrada :confused:"
|
||||
404_error: "Erro 404"
|
||||
404_description: "Aparentemente a página requisitada não existe."
|
||||
|
||||
footer:
|
||||
dark_appearance: "Mudar para modo escuro"
|
||||
light_appearance: "Mudar para modo claro"
|
||||
powered_by: "Movido por {{ .Hugo }} & {{ .Theme }}"
|
||||
|
||||
list:
|
||||
externalurl_title: "Link para site externo"
|
||||
no_articles: "Não tem artigos para listar aqui ainda."
|
||||
|
||||
nav:
|
||||
scroll_to_top_title: "Ir para o topo"
|
||||
skip_to_main: "Ir para o conteúdo principal"
|
||||
|
||||
search:
|
||||
open_button_title: "Pesquisar (/)"
|
||||
close_button_title: "Fechar (Esc)"
|
||||
input_placeholder: "Pesquisar"
|
||||
|
||||
sharing:
|
||||
email: "Enviar por email"
|
||||
facebook: "Compartilhar pelo Facebook"
|
||||
line: "Compartilhar pelo LINE"
|
||||
linkedin: "Compartilhar pelo LinkedIn"
|
||||
pinterest: "Pin no Pinterest"
|
||||
reddit: "Postar no Reddit"
|
||||
twitter: "Tweet no Twitter"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Recente"
|
||||
|
||||
recent:
|
||||
show_more: "Mostrar Mais"
|
||||
Reference in New Issue
Block a user