# OPENBUREAU — Hugo site configuration
baseURL: "https://openbureau.ch/"
title: "OPENBUREAU"
theme: "openbureau"

enableRobotsTXT: true
enableGitInfo: true
hasCJKLanguage: false

defaultContentLanguage: de
defaultContentLanguageInSubdir: false

languages:
  de:
    label: Deutsch
    locale: de_CH
    weight: 1
    title: OPENBUREAU
    params:
      description: "Eine offene Plattform für Architekturpraxis, Theorie und Werkzeuge."
  # en:
  #   label: English
  #   locale: en
  #   weight: 2
  #   title: OPENBUREAU
  # it:
  #   label: Italiano
  #   locale: it
  #   weight: 3
  #   title: OPENBUREAU

module:
  hugoVersion:
    extended: false
    min: "0.146.0"

markup:
  goldmark:
    renderer:
      unsafe: true
  highlight:
    noClasses: true
    style: algol_nu
    codeFences: true
    guessSyntax: true
    lineNos: false
    tabWidth: 4
  tableOfContents:
    startLevel: 2
    endLevel: 4
    ordered: false

taxonomies:
  tag: tags

outputs:
  home: [html, rss]
  page: [html]
  section: [html, rss]

pagination:
  pagerSize: 20

menus:
  main:
    - name: JOURNAL
      pageRef: /
      weight: 10
    - name: LIBRARY
      pageRef: /library
      weight: 20
    - name: ARCHIV
      pageRef: /archiv
      weight: 25
    - name: DIALOG
      pageRef: /dialog
      weight: 40
    # MANIFEST + CODE stehen im Footer (schlankeres Hauptmenü).

params:
  # Öffentliche Gitea-Repo-URL (für Provenance: Version → Commit, Verlauf).
  repoURL: "https://git.openbureau.ch/karim/OPENBUREAU"
  author:
    name: "Karim Gabriele Varano"
    email: "karim@gabrielevarano.ch"
    url: "https://gabrielevarano.ch"
  showreadingtime: true
  showlastmod: true
  comments: false
  # Accent for OPENBUREAU
  accent: "#b54a2c"

frontmatter:
  date: ['date', 'publishDate', 'lastmod']
  lastmod: [':git', 'lastmod', 'date', 'publishDate']
  publishDate: ['publishDate', 'date']
