diff --git a/ezgg_website/__init__.py b/ezgg_website/__init__.py index 7d95fc6..c12f4a0 100644 --- a/ezgg_website/__init__.py +++ b/ezgg_website/__init__.py @@ -105,7 +105,6 @@ themes = [ async def on_session_start(s: rio.Session) -> None: - print(from_root("ezgg_website/assets/icons/favicon.png")) await s.set_title("EZ GG e.V.") # Create the Rio app @@ -158,5 +157,24 @@ app = rio.App( icon=from_root("ezgg_website/assets/icons/favicon.png"), assets_dir=Path(__file__).parent / "assets", on_session_start=on_session_start, - default_attachments=[database_service] + default_attachments=[database_service], + meta_tags={ + # "content-Type": "text/html; utf-8", # Temporarily disabled until "http-equiv" is supported by Rio + # "Pragma": "cache", # Temporarily disabled until "http-equiv" is supported by Rio + "robots": "INDEX,FOLLOW", + # "content-Language": "de", # Temporarily disabled until "http-equiv" is supported by Rio + "description": "Homepage der Einfach Zocken Genussgesellschaft. Ein eingetragener Verein der sich mit " + "Videospielen und themenverwandten Aktivitäten befasst.", + "keywords": "Gaming, Clan, Guild, Verein, Club, Einfach, Zocken, Genuss, Gesellschaft, Videospiele, " + "Videogames, LAN, Party", + "author": "David Rodenkirchen", + "publisher": "EZ GG e.V.", + "copyright": "EZ GG e.V.", + "audience": "Alle", + "page-type": "Private Homepage", + "page-topic": "Gesellschaft", + # "Reply-to": "vorstand@ezgg-ev.de", # Temporarily disabled until "http-equiv" is supported by Rio + "expires": "", + "revisit-after": "2 days" + } )