from django.contrib.sitemaps.views import sitemap
from django.urls import path

from ocyan.main.loading import get_ocyan_class

sitemaps = get_ocyan_class("barebone.sitemaps", "sitemaps")


urlpatterns = [
    path(
        "sitemap.xml",
        sitemap,
        {"sitemaps": sitemaps},
        name="django.contrib.sitemaps.views.sitemap",
    )
]
