mirror of
				https://github.com/walkxcode/dashboard-icons.git
				synced 2025-10-30 00:07:56 +01:00 
			
		
		
		
	🔀 Merge Favour CDN image URLs over GitHub (#372)
* Anchor each icon image to CDN Signed-off-by: bgh-github <99472455+bgh-github@users.noreply.github.com> * Adjust icon download instructions/examples Signed-off-by: bgh-github <99472455+bgh-github@users.noreply.github.com> --------- Signed-off-by: bgh-github <99472455+bgh-github@users.noreply.github.com>
This commit is contained in:
		| @@ -7,7 +7,7 @@ path = root / "../ICONS.md" | ||||
|  | ||||
|  | ||||
| def generate_img_tag(file): | ||||
|     return f'<img src="png/{file.name}" alt="{file.stem}" height="50">' | ||||
|     return f'<a href="https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/{file.name}"><img src="https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/{file.name}" alt="{file.stem}" height="50"></a>' | ||||
|  | ||||
|  | ||||
| imgs = sorted(Path("./png").glob("*.png")) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user