mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Metaに投稿やユーザーのIDを設定するように
This commit is contained in:
		
							parent
							
								
									7ed1b695f5
								
							
						
					
					
						commit
						551d1b7f86
					
				
					 2 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -19,6 +19,10 @@ block og
 | 
				
			||||||
	meta(property='og:image'       content= user.avatarUrl)
 | 
						meta(property='og:image'       content= user.avatarUrl)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
block meta
 | 
					block meta
 | 
				
			||||||
 | 
						meta(name='misskey:user-username' content=user.username)
 | 
				
			||||||
 | 
						meta(name='misskey:user-id' content=user.id)
 | 
				
			||||||
 | 
						meta(name='misskey:note-id' content=note.id)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	meta(name='twitter:card' content='summary')
 | 
						meta(name='twitter:card' content='summary')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if user.twitter
 | 
						if user.twitter
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,6 +19,9 @@ block og
 | 
				
			||||||
	meta(property='og:image'       content= img)
 | 
						meta(property='og:image'       content= img)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
block meta
 | 
					block meta
 | 
				
			||||||
 | 
						meta(name='misskey:user-username' content=user.username)
 | 
				
			||||||
 | 
						meta(name='misskey:user-id' content=user.id)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	meta(name='twitter:card' content='summary')
 | 
						meta(name='twitter:card' content='summary')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if user.twitter
 | 
						if user.twitter
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue