mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
Add 'twitter:creator' meta data in user pages (#3618)
* Update user.pug * Update user.pug * Update note.pug * Update user.pug * Update note.pug * Update note.pug
This commit is contained in:
parent
a707cc15da
commit
295f903a1a
@ -21,6 +21,9 @@ block og
|
|||||||
block meta
|
block meta
|
||||||
meta(name='twitter:card' content='summary')
|
meta(name='twitter:card' content='summary')
|
||||||
|
|
||||||
|
if user.twitter
|
||||||
|
meta(name='twitter:creator' content=`@${user.twitter.screenName}`)
|
||||||
|
|
||||||
if note.prev
|
if note.prev
|
||||||
link(rel='prev' href=`${config.url}/notes/${note.prev}`)
|
link(rel='prev' href=`${config.url}/notes/${note.prev}`)
|
||||||
if note.next
|
if note.next
|
||||||
|
@ -21,6 +21,9 @@ block og
|
|||||||
block meta
|
block meta
|
||||||
meta(name='twitter:card' content='summary')
|
meta(name='twitter:card' content='summary')
|
||||||
|
|
||||||
|
if user.twitter
|
||||||
|
meta(name='twitter:creator' content=`@${user.twitter.screenName}`)
|
||||||
|
|
||||||
if !user.host
|
if !user.host
|
||||||
link(rel='alternate' href=`${config.url}/users/${user._id}` type='application/activity+json')
|
link(rel='alternate' href=`${config.url}/users/${user._id}` type='application/activity+json')
|
||||||
if user.uri
|
if user.uri
|
||||||
|
Loading…
Reference in New Issue
Block a user