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:
75
i18n/sv.yaml
Normal file
75
i18n/sv.yaml
Normal file
@@ -0,0 +1,75 @@
|
||||
global:
|
||||
language: "SV"
|
||||
|
||||
article:
|
||||
anchor_label: "Ankare"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Uppdaterad: {{ .Date }}"
|
||||
draft: "Utkast"
|
||||
edit_title: "Redigera innehåll"
|
||||
reading_time:
|
||||
one: "{{ .Count }} minut"
|
||||
other: "{{ .Count }} minuter"
|
||||
reading_time_title: "Lästid"
|
||||
table_of_contents: "Innehållsförteckning"
|
||||
word_count:
|
||||
one: "{{ .Count }} ord"
|
||||
other: "{{ .Count }} ord"
|
||||
part_of_series: "Denna artikel är en del av en serie."
|
||||
part: "Del"
|
||||
this_article: "Denna artikel"
|
||||
related_articles: "Relaterade"
|
||||
reply_by_email: "Svara via email"
|
||||
reply_to: "Svar på {{ .Title }}"
|
||||
|
||||
a11y:
|
||||
title: "Tillgänglighetsinställningar"
|
||||
disable_blur: "Inaktivera suddighet"
|
||||
disable_images: "Inaktivera bilder"
|
||||
show_link_underline: "Visa länkunderstrykning"
|
||||
font_size: "Teckenstorlek"
|
||||
|
||||
author:
|
||||
byline_title: "Författare"
|
||||
|
||||
code:
|
||||
copy: "Kopiera"
|
||||
copied: "Kopierad"
|
||||
|
||||
error:
|
||||
404_title: "Sidan hittades inte :confused:"
|
||||
404_error: "Fel 404"
|
||||
404_description: "Tyvärr finns inte sidan du begärde."
|
||||
|
||||
footer:
|
||||
dark_appearance: "Byt till mörkt tema"
|
||||
light_appearance: "Byt till ljust tema"
|
||||
powered_by: "Drivs av {{ .Hugo }} & {{ .Theme }}"
|
||||
|
||||
list:
|
||||
externalurl_title: "Länk till extern webbplats"
|
||||
no_articles: "Det finns ännu inga artiklar listade här."
|
||||
|
||||
nav:
|
||||
scroll_to_top_title: "Tillbaka upp"
|
||||
skip_to_main: "Hoppa till huvudinnehållet"
|
||||
|
||||
search:
|
||||
open_button_title: "Sök (/)"
|
||||
close_button_title: "Stäng (Esc)"
|
||||
input_placeholder: "Sök"
|
||||
|
||||
sharing:
|
||||
email: "Skicka med e-post"
|
||||
facebook: "Dela på Facebook"
|
||||
line: "Dela på LINE"
|
||||
linkedin: "Dela på LinkedIn"
|
||||
pinterest: "Fäst på Pinterest"
|
||||
reddit: "Skicka till Reddit"
|
||||
twitter: "Twittra på Twitter"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Senaste"
|
||||
|
||||
recent:
|
||||
show_more: "Visa mer"
|
||||
Reference in New Issue
Block a user