mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-02-23 03:19:40 +01:00
Implemented to set just class for cards
This commit is contained in:
parent
94b4e1f883
commit
6ba6b2ea99
@ -37,6 +37,8 @@ def reload_config_in_dev():
|
|||||||
|
|
||||||
# Cache the icons
|
# Cache the icons
|
||||||
for card in app.config["cards"]:
|
for card in app.config["cards"]:
|
||||||
|
# Just download the logo if an source url is passed
|
||||||
|
if card["icon"].get("source"):
|
||||||
card["icon"]["cache"] = cache_manager.cache_file(card["icon"]["source"])
|
card["icon"]["cache"] = cache_manager.cache_file(card["icon"]["source"])
|
||||||
|
|
||||||
app.config["company"]["logo"]["cache"] = cache_manager.cache_file(app.config["company"]["logo"]["source"])
|
app.config["company"]["logo"]["cache"] = cache_manager.cache_file(app.config["company"]["logo"]["source"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user