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:
87
i18n/fa.yaml
Normal file
87
i18n/fa.yaml
Normal file
@@ -0,0 +1,87 @@
|
||||
global:
|
||||
language: "FA"
|
||||
|
||||
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 }}"
|
||||
zen_mode_title:
|
||||
enable: "فعال کردن حالت تمام متن"
|
||||
disable: "غیر فعال کردن حالت تمام متن"
|
||||
|
||||
a11y:
|
||||
title: "تنظیمات دسترسی"
|
||||
disable_blur: "غیرفعال کردن تاری"
|
||||
disable_images: "غیرفعال کردن تصاویر"
|
||||
show_link_underline: "نمایش زیرخط لینک"
|
||||
font_size: "اندازه فونت"
|
||||
|
||||
author:
|
||||
byline_title: "نویسنده"
|
||||
|
||||
code:
|
||||
copy: "کپی کردن"
|
||||
copied: "کپی شد"
|
||||
|
||||
error:
|
||||
404_title: "صفحه مورد نظر یافت نشد :confused:"
|
||||
404_error: "خطای ۴۰۴"
|
||||
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: "همرسانی در فیسبوک"
|
||||
line: "همرسانی در لاین"
|
||||
linkedin: "همرسانی در لینکدین"
|
||||
pinterest: "همرسانی در پینترست"
|
||||
reddit: "همرسانی در ردیت"
|
||||
twitter: "همرسانی در توییتر"
|
||||
bluesky: "همرسانی در بلواسکای"
|
||||
whatsapp: "همرسانی در واتساپ"
|
||||
telegram: "همرسانی در تلگرام"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "مقالههای اخیر"
|
||||
|
||||
recent:
|
||||
show_more: "نمایش بیشتر"
|
||||
Reference in New Issue
Block a user