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:
2026-06-06 19:26:33 +00:00
Unverified
parent d329fe9dfb
commit 835b118d1a
443 changed files with 33405 additions and 1220 deletions

104
i18n/nb.yaml Normal file
View File

@@ -0,0 +1,104 @@
global:
language: "NB"
article:
anchor_label: "Anker"
date: "{{ .Date }}"
date_updated: "Oppdatert: {{ .Date }}"
draft: "Kladd"
edit_title: "Rediger innhold"
reading_time:
one: "{{ .Count }} minutt"
other: "{{ .Count }} minutter"
reading_time_title: "Lesetid"
table_of_contents: "Innholdsfortegnelse"
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 artikkelen er del av en serie."
part: "Del"
this_article: "Denne artikkelen"
related_articles: "Relatert"
reply_by_email: "Svar med e-post"
zen_mode_title:
enable: "Skru på zen modus"
disable: "Skru av zen modus"
a11y:
title: "Innstillinger for tilgjengelighet"
disable_blur: "Skru av uskarphet"
disable_images: "Skru av bakgrunnsbilde"
show_link_underline: "Vis strek under link"
font_size: "Størrelse skrifttype"
author:
byline_title: "Forfatter"
code:
copy: "Kopier"
copied: "Kopiert"
error:
404_title: "Fant ikke side :confused:"
404_error: "Feilmelding 404"
404_description: "Det ser ut til at siden du ber om ikke finnes."
footer:
dark_appearance: "Bytt til mørkt utseende"
light_appearance: "Bytt til lyst utseende"
powered_by: "Laget med {{ .Hugo }} &amp; {{ .Theme }}"
list:
externalurl_title: "Link til ekstern nettside"
no_articles: "Intet innhold å vise ennå."
nav:
scroll_to_top_title: "Gå til toppen"
skip_to_main: "Gå til hovedinnhold"
search:
open_button_title: "Søk (/)"
close_button_title: "Steng (Esc)"
input_placeholder: "Søk"
sharing:
email: "Send via e-post"
facebook: "Del på Facebook"
line: "Del på LINE"
linkedin: "Del på LinkedIn"
pinterest: "Pin på Pinterest"
reddit: "Send til Reddit"
twitter: "Tweet på Twitter"
bluesky: "Send til Bluesky"
whatsapp: "Del på WhatsApp"
telegram: "Del på Telegram"
mastodon: "Del på Mastodon"
shortcode:
recent_articles: "Nylige"
recent:
show_more: "Vis flere"
admonition:
abstract: "Sammendrag"
bug: "Programvarefeil"
caution: "Forsiktig"
danger: "Fare"
example: "Eksempel"
failure: "Fiasko"
important: "Viktig"
info: "Info"
note: "Merk"
question: "Spørsmål"
quote: "Sitat"
success: "Suksess"
tip: "Tips"
todo: "Gjøremål"
warning: "Advarsel"