mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Square logo & meta additions
This commit is contained in:
		@@ -248,7 +248,7 @@ def post():
 | 
			
		||||
            if webhook:
 | 
			
		||||
                if (session['unauthenticated']):
 | 
			
		||||
                    username = session["username"] + "#" + str(session["user_id"])
 | 
			
		||||
                    avatar = url_for('static', filename='img/titanembeds_round.png', _external=True)
 | 
			
		||||
                    avatar = url_for('static', filename='img/titanembeds_square.png', _external=True)
 | 
			
		||||
                    dbguild = db.session.query(Guilds).filter(Guilds.guild_id == guild_id).first()
 | 
			
		||||
                    if dbguild:
 | 
			
		||||
                        icon = dbguild.webhook_icon
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								webapp/titanembeds/static/img/titanembeds_square.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								webapp/titanembeds/static/img/titanembeds_square.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 55 KiB  | 
@@ -1,5 +1,5 @@
 | 
			
		||||
<meta property="og:title" content="{{ title }} page on Titan Embeds for Discord" />
 | 
			
		||||
<meta property="og:type" content="website" />
 | 
			
		||||
<meta property="og:url" content="{{ request.base_url }}" />
 | 
			
		||||
<meta property="og:image" content="{{ url_for('static', filename='img/titanembeds_round.png', _external=True) if not image else image }}" />
 | 
			
		||||
<meta property="og:image" content="{{ url_for('static', filename='img/titanembeds_square.png', _external=True) if not image else image }}" />
 | 
			
		||||
<meta property="og:description" content="{{ description }}" />
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
<link rel="icon" type="image/png" href="{{ url_for('static', filename='img/titanembeds_round.png') }}" />
 | 
			
		||||
 | 
			
		||||
<meta name="keywords" content="Titan, Titan Embeds, TitanEmbeds, Discord, Discordapp, Embed, iFrame, Embed Discord, iFrame Discord" />
 | 
			
		||||
<meta name="keywords" content="Titan, Titan Embeds, TitanEmbeds, Discord, Discordapp, Embed, iFrame, Embed Discord, iFrame Discord, Widget, Bot, Server, Server Widget, Titan Embed, TitanEmbed" />
 | 
			
		||||
<meta name="description" content="Embed your Discord server in any website. Titan is hassle free and designed as easy to setup." />
 | 
			
		||||
		Reference in New Issue
	
	Block a user