Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Doesn't account for routes.yaml #11

@kevnk

Description

@kevnk

I have several pages that are dynamically built (e.g. pages that list collection items) using site/settings/routes.yaml: https://docs.statamic.com/routing

Here's my routes.yaml for a real-life example:

routes:
  /portal/talks:
    layout: portal
    template: portal/talks
    protect:
      type: logged_in
      login_url: /login
      append_redirect: true
  /latest:
    template: latest
  /login:
    template: login
  /contact:
    template: contact
  /events:
    template: events
  /talks:
    template: talks
  /testimonies:
    template: testimonies
  /blog:
    template: blog
collections:
  /blog/{year}/{month}/{slug}:
    template: default
  /talks/{year}/{month}/{slug}:
    template: default
  /events/{year}/{month}/{slug}:
    template: default
taxonomies: [ ]
redirect: [ ]
vanity: [ ]

The generated /sitemap.xml doesn't contain any of these urls.

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