<?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>https://mindthread.tw/</loc>
    <xhtml:link rel="alternate" hreflang="zh-TW" href="https://mindthread.tw/" />
    <xhtml:link rel="alternate" hreflang="en" href="https://mindthread.tw/en" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://mindthread.tw/" />
    <lastmod>2026-08-14</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <!-- /en＝伺服器端就是英文的首頁（en-index.html，見 scripts/build-en-shell.mjs）。
       2026-08-14 前這裡宣告的英文版是 /?lang=en，但那個網址伺服器端回中文＝宣告了
       一個不存在的英文版。內頁的 ?lang=en 刻意不列入 sitemap：它們吃同一份英文殼、
       canonical 指向 /en，列進來會是互相打架的訊號。 -->
  <url>
    <loc>https://mindthread.tw/en</loc>
    <xhtml:link rel="alternate" hreflang="zh-TW" href="https://mindthread.tw/" />
    <xhtml:link rel="alternate" hreflang="en" href="https://mindthread.tw/en" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://mindthread.tw/" />
    <lastmod>2026-08-14</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://mindthread.tw/features</loc>
    <lastmod>2026-07-24</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://mindthread.tw/how-it-works</loc>
    <lastmod>2026-07-24</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <!-- /pricing 刻意不列（2026-08-14）：2026-07-03 的漏斗修正讓未登入訪客一律被導到
       首頁的定價區（/#pricing），所以這個網址渲染出來就是首頁、canonical 也是首頁。
       把 canonical 指向別處的網址放進 sitemap，Search Console 會標成「含非標準網址」。
       定價內容本來就在首頁那筆涵蓋到了。 -->
  <url>
    <loc>https://mindthread.tw/blog</loc>
    <!-- 部落格是全站唯一保留 ?lang=en 的地方，因為它是真的：api/blog.ts 伺服器端就渲染
         英文內容，而且 _blog-template.ts 讓英文版 canonical 自指 ?lang=en（不是指回中文版），
         所以 hreflang 配對成立。其他頁的 ?lang=en 吃的是同一份英文首頁殼、canonical 指 /en。 -->
    <xhtml:link rel="alternate" hreflang="zh-TW" href="https://mindthread.tw/blog" />
    <xhtml:link rel="alternate" hreflang="en" href="https://mindthread.tw/blog?lang=en" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://mindthread.tw/blog" />
    <lastmod>2026-08-14</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://mindthread.tw/developers</loc>
    <xhtml:link rel="alternate" hreflang="zh-TW" href="https://mindthread.tw/developers" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://mindthread.tw/developers" />
    <lastmod>2026-08-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://mindthread.tw/status</loc>
    <xhtml:link rel="alternate" hreflang="zh-TW" href="https://mindthread.tw/status" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://mindthread.tw/status" />
    <lastmod>2026-08-14</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://mindthread.tw/security</loc>
    <lastmod>2026-07-23</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.4</priority>
  </url>
  <url>
    <loc>https://mindthread.tw/privacy</loc>
    <lastmod>2026-07-23</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://mindthread.tw/terms</loc>
    <lastmod>2026-07-23</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>
  <!-- ADD once the public zh-TW 海巡 landing route ships (recommended P0 content move):
  <url>
    <loc>https://mindthread.tw/haixun</loc>
    <xhtml:link rel="alternate" hreflang="zh-TW" href="https://mindthread.tw/haixun" />
    <xhtml:link rel="alternate" hreflang="en" href="https://mindthread.tw/haixun?lang=en" />
    <lastmod>2026-07-23</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  -->
</urlset>
