Files
unifi-voucher-site/app/views/general/sitemap.ejs
Glenn de Haan 91bad12f52 Initial commit
2018-02-26 22:24:07 +01:00

18 lines
588 B
Plaintext

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc><%= baseUrl %></loc>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<% routes.forEach((route) => { %>
<% if(route.route !== "/") { %>
<url>
<loc><%= baseUrl %><%= route.route.substring(1) %></loc>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
<% } %>
<% }); %>
</urlset>