Skip to content
Snippets Groups Projects
Commit 29ad7ab0 authored by syuilo's avatar syuilo
Browse files

Provide prev and next note link

parent 11716fa9
No related branches found
No related tags found
No related merge requests found
......@@ -19,3 +19,8 @@ block meta
meta(property='og:description' content= summary)
meta(property='og:url' content= url)
meta(property='og:image' content= img)
if note.prev
link(rel='prev' href=`${config.url}/notes/${note.prev.id}`)
if note.next
link(rel='next' href=`${config.url}/notes/${note.next.id}`)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment