<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- Homepage -->
  <url>
    <loc>https://trailtree.com.au/</loc>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- Trail discovery -->
  <url>
    <loc>https://trailtree.com.au/trails</loc>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- Featured trails -->
  <url>
    <loc>https://trailtree.com.au/featured-trails</loc>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- About -->
  <url>
    <loc>https://trailtree.com.au/about</loc>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Blog index -->
  <url>
    <loc>https://trailtree.com.au/blog</loc>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- Blog articles -->
  <url>
    <loc>https://trailtree.com.au/blog/foodie-trail</loc>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://trailtree.com.au/blog/dog-friendly-trails</loc>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://trailtree.com.au/blog/art-trails</loc>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://trailtree.com.au/blog/accessible-trails</loc>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- Events -->
  <url>
    <loc>https://trailtree.com.au/events</loc>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Themes -->
  <url>
    <loc>https://trailtree.com.au/themes</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!-- Contact -->
  <url>
    <loc>https://trailtree.com.au/contact</loc>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>

  <!-- Legal / policy pages -->
  <url>
    <loc>https://trailtree.com.au/privacy-policy</loc>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://trailtree.com.au/terms-of-service</loc>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://trailtree.com.au/cookie-policy</loc>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

  <!--
    NOTE — Dynamic trail pages (/trails/:id):
    Individual public published trail pages are not included here because
    they require a live database query to enumerate safely.
    To add them, implement a server-side or build-time sitemap endpoint
    that queries Supabase for trails where status = 'published' and
    appends entries like:
      <url><loc>https://trailtree.com.au/trails/{trail_id}</loc>...</url>
    Do NOT include private or draft trails in that query.
  -->

</urlset>
