From 60b1bfea5d2eba0a1f1c9807087635c0abc6cfd0 Mon Sep 17 00:00:00 2001 From: William Ouwehand Date: Fri, 16 Jun 2023 17:33:03 +0200 Subject: Add prev/next page title paginator --- sass/abridge.scss | 6 ++++++ templates/macros/macros.html | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/sass/abridge.scss b/sass/abridge.scss index f5c69c0..4efd6dd 100644 --- a/sass/abridge.scss +++ b/sass/abridge.scss @@ -656,6 +656,12 @@ $syntax: true !default;//syntax highlighting for code blocks a,span { margin: .2rem; } + &:last-child //prev/next page title + { + div:last-child { + text-align: right; + } + } } footer nav > a { margin: .2rem; diff --git a/templates/macros/macros.html b/templates/macros/macros.html index dd718e7..ee5f896 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -122,7 +122,20 @@ {%- if page.reading_time and page.reading_time > 2 %}
{%- endif %} + {%- endmacro footer %} -- cgit v1.3.1