Skip to content

Commit

Permalink
Use sectionTitle for prev/next titles
Browse files Browse the repository at this point in the history
Goes with the changes over at docpress/docpress-core#107
so don't merge unless that PR is merged.
  • Loading branch information
Ilya Radchenko committed Aug 26, 2016
1 parent ea82b91 commit d496bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d496bf3

Please sign in to comment.