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:
81
i18n/bg.yaml
Normal file
81
i18n/bg.yaml
Normal file
@@ -0,0 +1,81 @@
|
||||
global:
|
||||
language: "BG"
|
||||
|
||||
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 }}"
|
||||
|
||||
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"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Последни"
|
||||
|
||||
recent:
|
||||
show_more: "Виж още"
|
||||
Reference in New Issue
Block a user