Skip to content

Add sitemap.xml #87

@jpmckinney

Description

@jpmckinney

I tried https://flask-sitemap.readthedocs.io/en/latest/ It renders only the <loc> elements. If adding @sitemap.register_generator under every @freezer.register_generator, it generates only the pages needed by the freezer extension (some of which are redirects).

I think it would be simpler to write a template file for the sitemap, and to render more complete information, e.g. using https://frozen-flask.readthedocs.io/en/stable/index.html#flask_frozen.Freezer.all_urls to iterate over the URLs.

INFO-level issue on Ahrefs.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions