🔍 list alternate language pages in head (fix #57)

This commit is contained in:
DrMaxNix 2024-02-11 20:17:56 +01:00
parent 92a6f583ac
commit ca5b8ce0d8
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@
Page::lang($lang->get());
Page::viewport(scale: 1, zoom: true);
Page::$head["alternate_de"] = '<link rel="alternate" hreflang="de" href="/" />';
Page::$head["alternate_en"] = '<link rel="alternate" hreflang="en" href="/en" />';
Page::robots(index: true, follow: true);
Page::author("Kim Endisch");