add meta tags
This commit is contained in:
parent
f53ae1a75b
commit
f207f5e4ed
@ -105,7 +105,6 @@ themes = [
|
|||||||
|
|
||||||
|
|
||||||
async def on_session_start(s: rio.Session) -> None:
|
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.")
|
await s.set_title("EZ GG e.V.")
|
||||||
|
|
||||||
# Create the Rio app
|
# Create the Rio app
|
||||||
@ -158,5 +157,24 @@ app = rio.App(
|
|||||||
icon=from_root("ezgg_website/assets/icons/favicon.png"),
|
icon=from_root("ezgg_website/assets/icons/favicon.png"),
|
||||||
assets_dir=Path(__file__).parent / "assets",
|
assets_dir=Path(__file__).parent / "assets",
|
||||||
on_session_start=on_session_start,
|
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"
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user