Phase 4: implement full static site (Eleventy, 15 pages, CSS, JS)

This commit is contained in:
Tom Roth
2026-07-31 08:33:06 +02:00
parent ecbd9f94e5
commit 34f7f5a1f5
24 changed files with 5986 additions and 8 deletions

52
src/sitemap.xml.njk Normal file
View File

@@ -0,0 +1,52 @@
---
permalink: /sitemap.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{# Homepage #}
<url>
<loc>{{ site.url }}/</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{# Services hub #}
<url>
<loc>{{ site.url }}/services/</loc>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
</url>
{# Individual service pages #}
{% for service in services %}
<url>
<loc>{{ site.url }}/services/{{ service.slug }}/</loc>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
{% endfor %}
{# Contact #}
<url>
<loc>{{ site.url }}/contact/</loc>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
{# About #}
<url>
<loc>{{ site.url }}/about/</loc>
<changefreq>yearly</changefreq>
<priority>0.7</priority>
</url>
{# Testimonials #}
<url>
<loc>{{ site.url }}/testimonials/</loc>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
</url>
</urlset>