Skip to content

Absolute permalink breaks astro build and sitemap loc #31

Description

@cverorg

Observed while verifying #29 on a real astro build (pre-existing, output byte-identical to main for this input):

  • A post with a safe absolute permalink: (e.g. an https:// URL pointing at the old site, the documented migration case) fails the build with NoMatchingStaticPathFound.
  • sitemap.xml emits <loc> as origin + the absolute permalink concatenated, producing an invalid URL.

Expected: either an absolute permalink is treated as an external canonical (no static path generated, sitemap <loc> uses it verbatim or omits the entry), or the frontmatter is rejected with a clear message at build time. The smoke build's feed scan arm (see #29 follow-ups, item 1) also depends on this shape and should be fixed together.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions