Skip to content

Commit

Permalink
fixed sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumbagel committed Mar 1, 2024
1 parent 750e501 commit 9e5c31b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ def generate_sitemap(links):
else:
url = f"https://{data['username']}.github.io#{lk}"
url = url.replace("//", "/")
url = url.replace("https:/", "https://")
links.append(url)
f = open(job["out"], "w")
f.truncate(0)
Expand Down
24 changes: 12 additions & 12 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
<loc>https:/quantumbagel.github.io#about</loc>
<lastmod>2024-03-01T13:25:32Z</lastmod>
<loc>https://quantumbagel.github.io#about</loc>
<lastmod>2024-03-01T14:23:36Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https:/quantumbagel.github.io#experience</loc>
<lastmod>2024-03-01T13:25:32Z</lastmod>
<loc>https://quantumbagel.github.io#experience</loc>
<lastmod>2024-03-01T14:23:36Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https:/quantumbagel.github.io#projects</loc>
<lastmod>2024-03-01T13:25:32Z</lastmod>
<loc>https://quantumbagel.github.io#projects</loc>
<lastmod>2024-03-01T14:23:36Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https:/quantumbagel.github.io#contact</loc>
<lastmod>2024-03-01T13:25:32Z</lastmod>
<loc>https://quantumbagel.github.io#contact</loc>
<lastmod>2024-03-01T14:23:36Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https:/quantumbagel.github.io/PyAerial#about</loc>
<lastmod>2024-03-01T13:25:32Z</lastmod>
<loc>https://quantumbagel.github.io/PyAerial#about</loc>
<lastmod>2024-03-01T14:23:36Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https:/quantumbagel.github.io/Triggered#about</loc>
<lastmod>2024-03-01T13:25:32Z</lastmod>
<loc>https://quantumbagel.github.io/Triggered#about</loc>
<lastmod>2024-03-01T14:23:36Z</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
Expand Down

0 comments on commit 9e5c31b

Please sign in to comment.