From 37c486a16e08ef80f5107a597b392add572735a3 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 22 Jan 2026 22:22:28 -0500 Subject: add x_revision directive to footer --- config.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.json') diff --git a/config.json b/config.json index c9981f5..87daf67 100644 --- a/config.json +++ b/config.json @@ -23,6 +23,11 @@ "labels": { "comment": "comment" }, + "formats": { + "default.footer": ["%{title}", "rev. %{x_revision}", "%{page}"], + "title.footer": ["", "rev. %{x_revision}", "%{page}"], + "first.footer": ["", "rev. %{x_revision}", ""] + }, "fonts": { "annotation": { "file": "/usr/share/fonts/TTF/DejaVuSerif-Bold.ttf" -- cgit v1.2.3