mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 18:41:07 +03:00 
			
		
		
		
	Removes title attribute from tiles
This commit is contained in:
		
							parent
							
								
									657eb4ef2d
								
							
						
					
					
						commit
						327974f7ed
					
				
							
								
								
									
										558
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										558
									
								
								index.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -95,7 +95,7 @@ for (var i = 0; i < source.icons.length; i++) { | |||||||
|     filePath = "../icons/" + fileName + ".svg"; |     filePath = "../icons/" + fileName + ".svg"; | ||||||
|     var fs = require('fs'); |     var fs = require('fs'); | ||||||
|     var svg = fs.readFileSync(filePath, 'utf8'); |     var svg = fs.readFileSync(filePath, 'utf8'); | ||||||
|     main += "\n            <li class=\"tiles__item\" style=\"background-color:#" + source.icons[i].hex + "\"><a href=\"https://simpleicons.org/icons/" + fileName + ".svg\" class=\"icon--link\" title=\"" + source.icons[i].title + "\">" + svg + "<span class=\"tile-name\">" + source.icons[i].title + "</span></a>" + "<span class=\"hex\">#" + source.icons[i].hex + "</span></li>"; |     main += "\n            <li class=\"tiles__item\" style=\"background-color:#" + source.icons[i].hex + "\"><a href=\"https://simpleicons.org/icons/" + fileName + ".svg\" class=\"icon--link\">" + svg + "<span class=\"tile-name\">" + source.icons[i].title + "</span></a>" + "<span class=\"hex\">#" + source.icons[i].hex + "</span></li>"; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // Put all content together and export to index.html
 | // Put all content together and export to index.html
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user