<?xml version="1.0" encoding="UTF-8"?>
<!--
  sitemap.xml — trip.xtyue.com (Curevia)
  作者: 陈涛 (Alan Chen) <1315333@qq.com>

  本文件由 scripts/build-static-pages.py **生成**，不要手改（构建脚本的漂移检查会报红）。
  来源：脚本里写死的固定页（/、/start/、/privacy.html、/account-deletion.html）＋ docs/guides/*.md
  的 front matter（每篇一条，lastmod = updated）。

  为什么固定页这么少：Flutter Web 走 hash 路由，应用内页地址 /#/home 的片段不会
  发给服务器，Google 也早已废弃 #! 抓取，因此那些地址不构成独立 URL，写进来
  只会被判重复。能被收录的只有真实静态页，所以内容靠 /guides/ 长出来。
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <url>
    <loc>https://trip.xtyue.com/</loc>
    <lastmod>2026-10-13</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://trip.xtyue.com/"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://trip.xtyue.com/"/>
  </url>
  <!--
    /start/ 是真正的静态页：纯 HTML/CSS/原生 JS、零外部请求、不加载 Flutter，
    首屏 <1s。它不是 hash 路由的应用内页，因此**构成独立 URL**，写进来是有效的。
    hreflang 只声明 en 与 x-default：中文是同一 URL 上的一个开关（?l=zh），
    与 en 共用 canonical，单独给它一个 hreflang 会变成自指互指。
  -->
  <url>
    <loc>https://trip.xtyue.com/start/</loc>
    <lastmod>2026-09-06</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
    <xhtml:link rel="alternate" hreflang="en" href="https://trip.xtyue.com/start/"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://trip.xtyue.com/start/"/>
  </url>
  <!-- 攻略：/guides/ 索引 + 每篇一条，由 docs/guides/*.md 生成 -->
  <url>
    <loc>https://trip.xtyue.com/guides/</loc>
    <lastmod>2026-10-23</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://trip.xtyue.com/guides/gulangyu-architecture-and-visit-planning/</loc>
    <lastmod>2026-10-23</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://trip.xtyue.com/guides/xiamen-trip-planning/</loc>
    <lastmod>2026-10-23</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://trip.xtyue.com/privacy.html</loc>
    <lastmod>2026-10-07</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://trip.xtyue.com/account-deletion.html</loc>
    <lastmod>2026-10-13</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>
</urlset>
