baseURL = "https://arch-linux.cz/"
defaultContentLanguage = "cs"
theme = "blowfish"

# Blowfish defaultně načítá další configy
[languages]
  [languages.cs]
    languageName = "Čeština"
    languageCode = "cs"
    weight = 1
    title = "Arch Linux CZ"

    [languages.cs.params]
      logo = "img/logo.png"
      description = "Česká komunita Arch Linuxu"

      [languages.cs.params.author]
        name = "Arch Linux CZ"
        headline = "Česká komunita Arch Linuxu"
        bio = "Návody, novinky a podpora pro uživatele Arch Linuxu v češtině."
        links = [
          { fediverse = "https://gts.arch-linux.cz/@arch" },
          { gitea = "https://git.arch-linux.cz/ArchlinuxCz" },
          { matrix = "https://matrix.to/#/#archlinuxcz:matrix.org" },
          { rss = "/index.xml" }
        ]

[params]
  colorScheme = "blowfish"
  defaultAppearance = "dark"
  autoSwitchAppearance = true
  enableSearch = true
  enableCodeCopy = true
  mainSections = ["posts"]
  showAppearanceSwitcher = true
  showScrollToTop = true

  [params.homepage]
    layout = "background"
    homepageImage = ""
    showRecent = true
    showRecentItems = 5
    showMoreLink = true

  [params.article]
    showDate = true
    showAuthor = true
    showReadingTime = true
    showTaxonomies = true
    showTableOfContents = true
    showPagination = true
    showComments = false

  [params.list]
    showHero = false
    showBreadcrumbs = true
    showSummary = true
    showTableOfContents = false
    showCards = true
    groupByYear = false
    paginationWidth = 1

  [params.footer]
    showCopyright = true
    showThemeAttribution = true

[[menu.main]]
  name = "Domů"
  pageRef = "/"
  weight = 1

[[menu.main]]
  name = "Návody"
  url = "/categories/návody/"
  weight = 2

[[menu.main]]
  name = "Zprávy"
  url = "/categories/zprávy/"
  weight = 3

[[menu.main]]
  name = "O Arch Linuxu"
  pageRef = "/o-arch-linuxu"
  weight = 4

[[menu.main]]
  name = "Wiki"
  url = "https://wiki.arch-linux.cz/shelves/arch-linux-cz"
  weight = 5

[[menu.main]]
  name = "Fórum"
  url = "https://forum.arch-linux.cz/"
  weight = 6

[[menu.main]]
  name = "Komunita"
  pageRef = "/komunita"
  weight = 7

[[menu.main]]
  name = "Podpořte nás"
  pageRef = "/podporte-nas"
  weight = 8

[[params.socialIcons]]
  name = "fediverse"
  url = "https://gts.arch-linux.cz/@arch"

[[params.socialIcons]]
  name = "gitea"
  url = "https://git.arch-linux.cz/ArchlinuxCz"

[[params.socialIcons]]
  name = "matrix"
  url = "https://matrix.to/#/#archlinuxcz:matrix.org"

[[params.socialIcons]]
  name = "rss"
  url = "/index.xml"

[[menu.main]]
  name = "Archiv"
  pageRef = "/posts"
  weight = 9

[[menu.main]]
  name = "Tagy"
  pageRef = "/tags"
  weight = 10

[permalinks]
  posts = "/:slug/"
