init: scaffold OPENBUREAU site with shibui-derived theme

- Hugo site for openbureau.ch (Deutsch, i18n-ready for EN/IT)
- Theme themes/openbureau/ = local copy of shibui, customized via
  site-level layouts and assets to keep the theme reference clean
- Editorial typography stack: Newsreader serif body, Space Grotesk
  display, Inter for listings, IBM Plex Mono for technical meta
- Content structure: library/ (Theorie, Büroführung, Software) with
  manifest and colophon at root; software is a library category, not
  a separate top-level
- Three views over one source: Journal (chronological home),
  Library (atlas grouped by section + tag cloud), single articles

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-23 20:25:29 +02:00
commit 00c3343b1d
87 changed files with 2929 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{{- $duration := "7000" -}}
{{- $content := $ -}}
{{- $imageListPattern := `<ul>\s*(?:<li><figure>\s*<img[^>]*/?>\s*</figure>\s*</li>\s*)+</ul>` -}}
{{- $imageLists := findRE $imageListPattern $content -}}
{{- range $index,$il := $imageLists -}}
{{- $listItems := findRE `<li><figure>\s*<img[^>]*/?>\s*</figure>\s*</li>` $il -}}
{{- $items := `<ul>` -}}
{{- range $i,$li := $listItems -}}
{{- $img := index (findRE `<img[^>]*/?>` $li) 0 -}}
{{- $items = print $items `<li id="c` $index `_slide` $i `">` $img `</li>` -}}
{{- end -}}
{{- $items = print $items `</ul>` -}}
{{- $indicators := `<ol>` -}}
{{- range $i,$li := $listItems -}}
{{- $indicators = print $indicators `<li><a href="#c` $index `_slide` $i `"></a></li>` -}}
{{- end -}}
{{- $indicators = print $indicators `</ol>` -}}
{{- $replacement := print `<div id="carousel_` $index `" class="auto-carousel" duration="` $duration `">` $items $indicators `<div class="prev">&lsaquo;</div><div class="next">&rsaquo;</div></div>` -}}
{{- $content = replace $content $il $replacement -}}
{{- end -}}
{{- $content | safeHTML -}}