From e9b80c7391eedf2c1a5599feefaa9a3c8d193fe0 Mon Sep 17 00:00:00 2001
From: kangalio <me@kangalio.net>
Date: Wed, 30 Oct 2024 20:10:41 +0100
Subject: [PATCH] Fix deprecated hugo field names

I love churn
---
 hugo.yaml                    | 3 ++-
 layouts/partials/header.html | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/hugo.yaml b/hugo.yaml
index 99cb721..9c8533a 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -1,6 +1,7 @@
 baseURL: '/'
 title: Fachschaft Informatik
-paginate: 5
+pagination:
+  pagerSize: 5
 theme: hugo-arcana
 
 enableInlineShortcodes: true
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 853cb98..ef0e986 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,5 +1,5 @@
 <div id="header">
-    {{ if .Site.IsMultiLingual }}
+    {{ if hugo.IsMultilingual }}
         {{- partial "languages.html" . }}
     {{- end -}}
     <h1 id="logo_container">
-- 
GitLab