Phase 4: implement full static site (Eleventy, 15 pages, CSS, JS)
This commit is contained in:
52
src/sitemap.xml.njk
Normal file
52
src/sitemap.xml.njk
Normal 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>
|
||||
Reference in New Issue
Block a user