mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2024-11-23 03:43:30 +01:00
🚀 Hotlink README icon images to jsDelivr CDN rather than GitHub (#344)
This commit is contained in:
parent
997f8e2631
commit
910a909a4d
1 changed files with 1 additions and 1 deletions
2
_ci.py
2
_ci.py
|
@ -7,7 +7,7 @@ readme_path = root / "README.md"
|
|||
|
||||
|
||||
def generate_img_tag(file):
|
||||
return f'<img src="png/{file.name}" alt="{file.stem}" width="50">'
|
||||
return f'<img src="https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/{file.name}" alt="{file.stem}" width="50">'
|
||||
|
||||
|
||||
imgs = sorted(Path("./png").glob("*.png"))
|
||||
|
|
Loading…
Reference in a new issue