summaryrefslogtreecommitdiff
path: root/src/server/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-05-06 01:46:35 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-05-06 01:46:35 +0900
commitc32c3c137028e32695a5464b7a7fc9faa3f13d96 (patch)
tree0a4e042c160afcc8d82985f5cf53f39bdc4047a0 /src/server/web
parentProvide prev and next note link (diff)
downloadsharkey-c32c3c137028e32695a5464b7a7fc9faa3f13d96.tar.gz
sharkey-c32c3c137028e32695a5464b7a7fc9faa3f13d96.tar.bz2
sharkey-c32c3c137028e32695a5464b7a7fc9faa3f13d96.zip
Fix bug
Diffstat (limited to 'src/server/web')
-rw-r--r--src/server/web/views/note.pug4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/web/views/note.pug b/src/server/web/views/note.pug
index 8cb1d954da..bc8dcdab8f 100644
--- a/src/server/web/views/note.pug
+++ b/src/server/web/views/note.pug
@@ -21,6 +21,6 @@ block meta
meta(property='og:image' content= img)
if note.prev
- link(rel='prev' href=`${config.url}/notes/${note.prev.id}`)
+ link(rel='prev' href=`${config.url}/notes/${note.prev}`)
if note.next
- link(rel='next' href=`${config.url}/notes/${note.next.id}`)
+ link(rel='next' href=`${config.url}/notes/${note.next}`)