mirror of
				https://git.sr.ht/~tsileo/microblog.pub
				synced 2025-06-05 21:59:23 +02:00 
			
		
		
		
	Fix OG image URL
This commit is contained in:
		| @@ -424,3 +424,4 @@ _templates.env.globals["BASE_URL"] = config.BASE_URL | ||||
| _templates.env.globals["HIDES_FOLLOWERS"] = config.HIDES_FOLLOWERS | ||||
| _templates.env.globals["HIDES_FOLLOWING"] = config.HIDES_FOLLOWING | ||||
| _templates.env.globals["NAVBAR_ITEMS"] = config.NavBarItems | ||||
| _templates.env.globals["ICON_URL"] = config.CONFIG.icon_url | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
| <meta content="{{ local_actor.display_name }}'s microblog" property="og:site_name" /> | ||||
| <meta content="Homepage" property="og:title" /> | ||||
| <meta content="{{ local_actor.summary | html2text | trim }}" property="og:description" /> | ||||
| <meta content="{{ local_actor.url }}" property="og:image" /> | ||||
| <meta content="{{ ICON_URL }}" property="og:image" /> | ||||
| <meta content="summary" property="twitter:card" /> | ||||
| <meta content="{{ local_actor.handle }}" property="profile:username" /> | ||||
| {% endif %} | ||||
|   | ||||
| @@ -13,7 +13,7 @@ | ||||
| <meta content="{{ local_actor.display_name }}'s microblog" property="og:site_name" /> | ||||
| <meta content="Homepage" property="og:title" /> | ||||
| <meta content="{{ local_actor.summary | html2text | trim }}" property="og:description" /> | ||||
| <meta content="{{ local_actor.url }}" property="og:image" /> | ||||
| <meta content="{{ ICON_URL }}" property="og:image" /> | ||||
| <meta content="summary" property="twitter:card" /> | ||||
| <meta content="{{ local_actor.handle }}" property="profile:username" /> | ||||
| {% endblock %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user