From d496bf38f2648b688dd27ad6abdd7f981bb35ff5 Mon Sep 17 00:00:00 2001 From: Ilya Radchenko Date: Fri, 26 Aug 2016 16:35:29 -0400 Subject: [PATCH] Use sectionTitle for prev/next titles Goes with the changes over at https://github.com/docpress/docpress-core/pull/107 so don't merge unless that PR is merged. --- data/layout.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/layout.pug b/data/layout.pug index a961b86..2ef5d07 100644 --- a/data/layout.pug +++ b/data/layout.pug @@ -68,12 +68,12 @@ mixin footer-nav(prev, next) if prev .left a(href=prev.url) - span.title= prev.title + span.title= prev.sectionTitle if next .right a(href=next.url) span.label= "Next: " - span.title= next.title + span.title= next.sectionTitle //- //- html