Skip to content

Commit

Permalink
feat: Set navigation rel
Browse files Browse the repository at this point in the history
  • Loading branch information
taorepoara committed Jul 10, 2023
1 parent b1cef5c commit cf18747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/.layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ html(lang=language)
nav.pages
if("previous" in currentPage)
- let prevPage = pageMap[currentPage.previous];
a.btn.lenra-icon-arrow-left(href="/"+prevPage.href)= (prevPage.properties.name || prevPage.properties.title)
a.btn.lenra-icon-arrow-left(href="/"+prevPage.href rel="prev")= (prevPage.properties.name || prevPage.properties.title)
if("next" in currentPage)
- let nextPage = pageMap[currentPage.next];
a.btn.lenra-icon-arrow-right(href="/"+nextPage.href)= (nextPage.properties.name || nextPage.properties.title)
a.btn.lenra-icon-arrow-right(href="/"+nextPage.href ref="next")= (nextPage.properties.name || nextPage.properties.title)
include .footer.pug

0 comments on commit cf18747

Please sign in to comment.