From f1a86068dc6a528d5bc1ed160b13e6be09807ea0 Mon Sep 17 00:00:00 2001 From: Roland Thomas Date: Sat, 1 Feb 2025 19:00:37 -0500 Subject: [PATCH] Fix header.html partial, update pagination in hugo.toml --- hugo.toml | 2 +- layouts/partials/header.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hugo.toml b/hugo.toml index f6e821e..ca46fbb 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,7 +1,7 @@ baseURL = 'https://rtj.dev/' languageCode = 'en-us' title = 'rtj.dev' -paginate = 10 +pagination.pagerSize = 10 theme = 'PaperMod' enableEmoji = true pygmentsUseClasses = true diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 011957d..dbd4be5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -98,7 +98,7 @@ {{- $lang := .Lang}} {{- $separator := or $label_text (not site.Params.disableThemeToggle)}} - {{- with site.Home.AllTranslations }} + {{- with site.Home.Translations }} -