Skip to content

Commit

Permalink
Use sectionTitle for prev/next titles (#135)
Browse files Browse the repository at this point in the history
* Use sectionTitle for prev/next titles

Goes with the changes over at docpress/docpress-core#107
so don't merge unless that PR is merged.

* Rename section title to pageTitle

See #109
  • Loading branch information
Ilya Radchenko committed Aug 29, 2016
1 parent 7005b71 commit 6a9907e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/layout.pug
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.pageTitle
if next
.right
a(href=next.url)
span.label= "Next: "
span.title= next.title
span.title= next.pageTitle

//-
//- html
Expand Down

0 comments on commit 6a9907e

Please sign in to comment.