From 164d0c082aa33b489dd29f9ab3629d7402b268d7 Mon Sep 17 00:00:00 2001 From: blake Date: Thu, 24 Oct 2019 14:58:14 -0500 Subject: [PATCH] Introducing Next/Previous links at the bottom of the pages Signed-off-by: blake --- docs-antora/ui/src/css/footer.css | 15 +++++++++++++++ docs-antora/ui/src/partials/article.hbs | 8 ++++++++ 2 files changed, 23 insertions(+) diff --git a/docs-antora/ui/src/css/footer.css b/docs-antora/ui/src/css/footer.css index 6521947c9b..de01cda36e 100644 --- a/docs-antora/ui/src/css/footer.css +++ b/docs-antora/ui/src/css/footer.css @@ -13,3 +13,18 @@ footer.footer { .footer a { color: var(--footer-link-font-color); } + +.article-footer { + width: 100%; +} + +.article-footer .article-footer-next { + float: right; + width: 35%; + text-align: right; +} + +.article-footer .article-footer-previous { + float: left; + width: 35%; +} diff --git a/docs-antora/ui/src/partials/article.hbs b/docs-antora/ui/src/partials/article.hbs index 11a5117be9..293f7ac96d 100644 --- a/docs-antora/ui/src/partials/article.hbs +++ b/docs-antora/ui/src/partials/article.hbs @@ -13,5 +13,13 @@ If you typed the URL of this page manually, please double check that you entered

{{{page.title}}}

{{/if}} {{{page.contents}}} + {{/if}} -- 2.11.0