add meta tags, prepare icon
This commit is contained in:
parent
f2dfaa78f3
commit
1355e8387e
@ -25,6 +25,7 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
|
|
||||||
services = init_services()
|
services = init_services()
|
||||||
|
lan_info = services[2].get_lan_info()
|
||||||
|
|
||||||
app = App(
|
app = App(
|
||||||
name="EZ LAN Manager",
|
name="EZ LAN Manager",
|
||||||
@ -93,7 +94,23 @@ if __name__ == "__main__":
|
|||||||
theme=theme,
|
theme=theme,
|
||||||
assets_dir=Path(__file__).parent / "assets",
|
assets_dir=Path(__file__).parent / "assets",
|
||||||
default_attachments=services,
|
default_attachments=services,
|
||||||
on_session_start= lambda s: s.set_title(services[2].get_lan_info().name)
|
on_session_start= lambda s: s.set_title(lan_info.name),
|
||||||
|
#icon=from_root(""), ToDo
|
||||||
|
meta_tags={
|
||||||
|
"robots": "INDEX,FOLLOW",
|
||||||
|
"description": f"Info und Verwaltungs-Seite der LAN Party '{lan_info.name} - {lan_info.iteration}'.",
|
||||||
|
"og:description": f"Info und Verwaltungs-Seite der LAN Party '{lan_info.name} - {lan_info.iteration}'.",
|
||||||
|
"keywords": "Gaming, Clan, Guild, Verein, Club, Einfach, Zocken, Genuss, Gesellschaft, Videospiele, "
|
||||||
|
"Videogames, LAN, Party, EZ, LAN, Manager",
|
||||||
|
"author": "David Rodenkirchen",
|
||||||
|
"publisher": "EZ GG e.V.",
|
||||||
|
"copyright": "EZ GG e.V.",
|
||||||
|
"audience": "Alle",
|
||||||
|
"page-type": "Management Application",
|
||||||
|
"page-topic": "LAN Party",
|
||||||
|
"expires": "",
|
||||||
|
"revisit-after": "2 days"
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
app.run_as_web_server()
|
app.run_as_web_server()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user