diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-05-06 01:46:35 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-05-06 01:46:35 +0900 |
| commit | c32c3c137028e32695a5464b7a7fc9faa3f13d96 (patch) | |
| tree | 0a4e042c160afcc8d82985f5cf53f39bdc4047a0 /src/server/web | |
| parent | Provide prev and next note link (diff) | |
| download | sharkey-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.pug | 4 |
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}`) |