Add some meta alternate links (#2657)

This commit is contained in:
MeiMei
2018-09-07 19:22:14 +09:00
committed by syuilo
parent 7343e6e2e8
commit d70e2a788e
2 changed files with 10 additions and 0 deletions

View File

@@ -23,3 +23,6 @@ block meta
link(rel='prev' href=`${config.url}/notes/${note.prev}`)
if note.next
link(rel='next' href=`${config.url}/notes/${note.next}`)
if !user.host
link(rel='alternate' href=url type='application/activity+json')