- 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.
87 lines
3.1 KiB
YAML
87 lines
3.1 KiB
YAML
global:
|
|
language: "TH"
|
|
|
|
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"
|
|
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"
|
|
linkedin: "แชร์บน LinkedIn"
|
|
pinterest: "ปักหมุดบน Pinterest"
|
|
reddit: "โพสต์บน Reddit"
|
|
twitter: "ทวีตบน Twitter"
|
|
bluesky: "โพสต์บน Bluesky"
|
|
whatsapp: "แชร์ทาง WhatsApp"
|
|
telegram: "แชร์ทาง Telegram"
|
|
|
|
shortcode:
|
|
recent_articles: "บทความล่าสุด"
|
|
|
|
recent:
|
|
show_more: "แสดงเพิ่มเติม"
|