From c9622b79e54d8a0015818b683c182a9d3a2abdb3 Mon Sep 17 00:00:00 2001 From: Popa <115492561+Popa-42@users.noreply.github.com> Date: Mon, 14 Sep 2026 01:11:18 +0200 Subject: [PATCH] feat: add page number footer to base template --- src/templates/base.typ | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/templates/base.typ b/src/templates/base.typ index 4913f79..bda5c4f 100644 --- a/src/templates/base.typ +++ b/src/templates/base.typ @@ -55,6 +55,14 @@ #line(length: 100%, stroke: 0.4pt + colors.stroke) ] }, + footer: context { + line(length: 100%, stroke: 0.4pt + colors.stroke) + grid( + columns: (3fr, 1fr, 3fr), + align: (start, center, end), + none, counter(page).display(both: true), none, + ) + }, ) set par(..common-theme.paragraph)