This commit is contained in:
2024-05-18 12:38:37 +02:00
parent 2a965f375f
commit 399816afa1
7 changed files with 63 additions and 11 deletions

View File

@ -40,9 +40,9 @@ function _get_fmt(): string {
$type = sizeof($fmts) > 0 ? array_key_first($fmts) : null; $type = sizeof($fmts) > 0 ? array_key_first($fmts) : null;
if (str_contains($type, '/json')) { if (str_contains($type, '/json')) {
return 'json'; return 'json';
} else if ($type === 'text/html') { } else if ($type === 'text/plain') {
return 'html';
} else {
return 'text'; return 'text';
} else {
return 'html';
} }
} }

View File

@ -104,7 +104,8 @@ if ($path == '') {
<html xmlns="http://www.w3.org/1999/xhtml" lang="de-AT"> <html xmlns="http://www.w3.org/1999/xhtml" lang="de-AT">
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<title>Mandanten - Elwig - Elektronische Winzergenossenschaftsverwaltung</title> <title>Mandanten - Elwig</title>
<meta name="description" content="Elektronische Winzergenossenschaftsverwaltung"/>
<link rel="icon" href="/favicon.ico" sizes="16x16 20x20 24x24 30x30 32x32 36x36 40x40 48x48 60x60 64x64 72x72 80x80 96x96 128x128 256x256"/> <link rel="icon" href="/favicon.ico" sizes="16x16 20x20 24x24 30x30 32x32 36x36 40x40 48x48 60x60 64x64 72x72 80x80 96x96 128x128 256x256"/>
<link rel="stylesheet" href="/res/style.css"/> <link rel="stylesheet" href="/res/style.css"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/> <meta name="viewport" content="width=device-width,initial-scale=1.0"/>

View File

@ -117,13 +117,30 @@ if ($format === 'json') {
header('Content-Type: application/xhtml+xml; charset=UTF-8'); header('Content-Type: application/xhtml+xml; charset=UTF-8');
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?> ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="de-AT"> <html xmlns="http://www.w3.org/1999/xhtml" lang="de-AT" prefix="og: https://ogp.me/ns#">
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<title>Downloads - Elwig - Elektronische Winzergenossenschaftsverwaltung</title> <title>Downloads - Elwig</title>
<meta name="description" content="Elektronische Winzergenossenschaftsverwaltung"/>
<link rel="icon" href="/favicon.ico" sizes="16x16 20x20 24x24 30x30 32x32 36x36 40x40 48x48 60x60 64x64 72x72 80x80 96x96 128x128 256x256"/> <link rel="icon" href="/favicon.ico" sizes="16x16 20x20 24x24 30x30 32x32 36x36 40x40 48x48 60x60 64x64 72x72 80x80 96x96 128x128 256x256"/>
<link rel="stylesheet" href="/res/style.css"/> <link rel="stylesheet" href="/res/style.css"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/> <meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<meta name="theme-color" content="#A040C0"/>
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
<meta property="og:site_name" content="Elwig"/>
<meta property="og:title" content="Downloads - Elwig"/>
<meta property="og:description" content="Elektronische Winzergenossenschaftsverwaltung"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://elwig.at/files/"/>
<meta property="og:image" content="https://elwig.at/res/images/preview.jpg"/>
<meta property="og:image:type" content="image/jpeg"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="630"/>
<meta property="og:locale" content="de_AT"/>
<meta property="og:ttl" content="60"/>
<meta name="twitter:card" content="summary_large_image"/>
</head> </head>
<body> <body>
<main> <main>

View File

@ -1,11 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="de-AT"> <html xmlns="http://www.w3.org/1999/xhtml" lang="de-AT" prefix="og: https://ogp.me/ns#">
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<title>Elwig - Elektronische Winzergenossenschaftsverwaltung</title> <title>Elwig</title>
<meta name="description" content="Elektronische Winzergenossenschaftsverwaltung"/>
<link rel="icon" href="/favicon.ico" sizes="16x16 20x20 24x24 30x30 32x32 36x36 40x40 48x48 60x60 64x64 72x72 80x80 96x96 128x128 256x256"/> <link rel="icon" href="/favicon.ico" sizes="16x16 20x20 24x24 30x30 32x32 36x36 40x40 48x48 60x60 64x64 72x72 80x80 96x96 128x128 256x256"/>
<link rel="stylesheet" href="/res/style.css"/> <link rel="stylesheet" href="/res/style.css"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/> <meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<meta name="theme-color" content="#A040C0"/>
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
<meta property="og:site_name" content="Elwig"/>
<meta property="og:title" content="Elwig"/>
<meta property="og:description" content="Elektronische Winzergenossenschaftsverwaltung"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://elwig.at/"/>
<meta property="og:image" content="https://elwig.at/res/images/preview.jpg"/>
<meta property="og:image:type" content="image/jpeg"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="630"/>
<meta property="og:locale" content="de_AT"/>
<meta property="og:ttl" content="60"/>
<meta name="twitter:card" content="summary_large_image"/>
</head> </head>
<body style="margin-top: 3em;"> <body style="margin-top: 3em;">
<header> <header>

BIN
www/res/images/preview.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

4
www/robots.txt Normal file
View File

@ -0,0 +1,4 @@
# robots.txt for elwig.at
User-Agent: *
Disallow: /clients/
Sitemap: https://elwig.at/sitemap.xml

13
www/sitemap.xml Normal file
View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://elwig.at/</loc>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://elwig.at/files/</loc>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
</urlset>