mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Provide prev and next note link
This commit is contained in:
parent
11716fa9d3
commit
29ad7ab0cf
@ -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…
Reference in New Issue
Block a user