mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Provide prev and next note link
This commit is contained in:
parent
ead621d9a6
commit
b681746081
1 changed files with 5 additions and 0 deletions
|
@ -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}`)
|
||||
|
|
Loading…
Add table
Reference in a new issue