add sitemap

This commit is contained in:
2024-01-08 15:13:00 +01:00
parent 920fedd444
commit 98b95b1a18
4 changed files with 128 additions and 67 deletions

27
.vscode/sitemap-generator.json vendored Normal file
View File

@@ -0,0 +1,27 @@
{
"src/sitemap.xml": {
"Protocol": "https",
"DomainName": "janishutz.com",
"Root": "./src",
"IncludeExt": [
".html",
".php"
],
"Exclude": [
"404.html",
"footer.html",
"menu.html",
"search/index.html"
],
"TagsToInclude": [
"priority"
],
"DefaultChangeFrequency": "monthly",
"TabCharacters": "\t",
"bIncludeWWW": true,
"bRemoveFileExtentions": false,
"bUseTrailingSlash": false,
"bAutomaticallyUpdateSitemap": true,
"bMinimized": false
}
}

8
src/robots.txt Normal file
View File

@@ -0,0 +1,8 @@
User-agent: *
Disallow: /menu.html
Disallow: /footer.html
Disallow: /js/
Disallow: /css/
Disallow: /404.html
Sitemap: https://janishutz.com/sitemap.xml

View File

@@ -1,67 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Search (redirects to duckduckgo) :: janishutz.com</title>
<style>
html {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
body {
background-image: radial-gradient(
rgb(25, 25, 151), lightblue
);
background-repeat: no-repeat;
background-size: contain;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: sans-serif;
}
.search-wrapper {
text-align: center;
background-color: white;
min-height: fit-content;
min-width: fit-content;
height: 50%;
padding: 3% 5%;
border-radius: 50px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.search-box {
background-color: rgb(191, 196, 255);
border-style: solid;
padding: 1%;
width: 40vw;
font-size: 110%;
border-radius: 10px;
}
.submit-button {
}
</style>
</head>
<body>
<div class="search-wrapper">
<h1 style="font-size: 400%;">Search</h1>
<form action="https://duckduckgo.com/" method="get">
<input type="text" placeholder="Search..." name="q" class="search-box">
<input type="submit" value="Search" class="submit-button">
</form>
</div>
</body>
</html>

93
src/sitemap.xml Normal file
View File

@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.janishutz.com</loc>
<priority>1.00</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/support</loc>
<priority>0.67</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/services</loc>
<priority>0.67</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/projects</loc>
<priority>0.67</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/privacypolicy</loc>
<priority>0.67</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/presentations</loc>
<priority>0.67</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/about</loc>
<priority>0.67</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/support/contact</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/projects/storagemanager</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/projects/smuL</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/projects/schoolprojects</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/projects/qrscanner</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/projects/musicplayer</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/projects/libreevent</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/projects/languageschoolhossegor-booking</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/projects/impress</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/presentations/auth</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
<url>
<loc>https://www.janishutz.com/about/aboutme</loc>
<priority>0.33</priority>
<lastmod></lastmod>
</url>
</urlset>