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:
88
i18n/da.yaml
Normal file
88
i18n/da.yaml
Normal file
@@ -0,0 +1,88 @@
|
||||
global:
|
||||
language: "DA"
|
||||
|
||||
article:
|
||||
anchor_label: "Anker"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Opdateret: {{ .Date }}"
|
||||
draft: "Kladde"
|
||||
edit_title: "Redigér indhold"
|
||||
reading_time:
|
||||
one: "{{ .Count }} minut"
|
||||
other: "{{ .Count }} minutter"
|
||||
reading_time_title: "Læsetid"
|
||||
table_of_contents: "Indholdsfortegnelse"
|
||||
word_count:
|
||||
one: "{{ .Count }} ord"
|
||||
other: "{{ .Count }} ord"
|
||||
views:
|
||||
one: "{{ .Count }} visning"
|
||||
other: "{{ .Count }} visninger"
|
||||
likes:
|
||||
one: "{{ .Count }} like"
|
||||
other: "{{ .Count }} likes"
|
||||
part_of_series: "Denne artikel er en del af en serie."
|
||||
part: "Del"
|
||||
this_article: "Denne artikel"
|
||||
related_articles: "Relateret"
|
||||
reply_by_email: "Svar via email"
|
||||
reply_to: "Svar på {{ .Title }}"
|
||||
zen_mode_title:
|
||||
enable: "Aktiver zen mode"
|
||||
disable: "Deaktiver zen mode"
|
||||
|
||||
a11y:
|
||||
title: "Tilgængelighedsindstillinger"
|
||||
disable_blur: "Deaktiver uskarphed"
|
||||
disable_images: "Deaktiver billeder"
|
||||
show_link_underline: "Vis link-understregning"
|
||||
font_size: "Skrift størrelse"
|
||||
|
||||
author:
|
||||
byline_title: "Forfatter"
|
||||
|
||||
code:
|
||||
copy: "Kopi"
|
||||
copied: "Kopieret"
|
||||
|
||||
error:
|
||||
404_title: "Siden kunne ikke findes :confused:"
|
||||
404_error: "Fejl 404"
|
||||
404_description: "Det ser ud til at den side du søger ikke eksisterer."
|
||||
|
||||
footer:
|
||||
dark_appearance: "Skift til mørk udseende"
|
||||
light_appearance: "Skift til lys udseende"
|
||||
powered_by: "Genereret af {{ .Hugo }} & {{ .Theme }}"
|
||||
|
||||
list:
|
||||
externalurl_title: "Link til ekstern hjemmeside"
|
||||
no_articles: "Der er ikke nogle artikler her, endnu."
|
||||
|
||||
nav:
|
||||
scroll_to_top_title: "scrol til top"
|
||||
skip_to_main: "Gå til hovedindhold"
|
||||
|
||||
search:
|
||||
open_button_title: "Søg (/)"
|
||||
close_button_title: "Luk (Esc)"
|
||||
input_placeholder: "Søg"
|
||||
|
||||
sharing:
|
||||
email: "Send via email"
|
||||
facebook: "Del via Facebook"
|
||||
line: "Del via LINE"
|
||||
linkedin: "Del via LinkedIn"
|
||||
pinterest: "Pin på Pinterest"
|
||||
reddit: "Send til Reddit"
|
||||
twitter: "Tweet via Twitter"
|
||||
bluesky: "Post via Bluesky"
|
||||
whatsapp: "Del via WhatsApp"
|
||||
telegram: "Del via Telegram"
|
||||
mastodon: "Del via Mastodon"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Seneste"
|
||||
|
||||
recent:
|
||||
show_more: "Vis mere"
|
||||
Reference in New Issue
Block a user