Oh I see. I think your sitemap structure is quite different to what
Django's sitemaps index is intended for. I think it's probably better that
you create your own index view based copy-pasting the built-in one, rather
than adding extra parameters to it. It's not much code, and Django can't be
infin
Sure, my urls look like this:
urlpatterns = (
path('/', views.page_detail, name="page"),
path('/sitemap.xml', cache_page(60*60)(views.sitemap_view),
name="sitemap-index"),
)
And i have this view for the sitemap_view, that creates the sitemap for
each page under the path of the r
>
> I'm trying to add sitemaps on a per object base to my project.
Can you explain this a little more? I don't follow what sitemap structure
you're pursuing that's different to the default, nor why.
On Tue, 26 May 2020 at 09:24, Sandro Covo wrote:
> Hello,
>
> I'm trying to add sitemaps on a p
Hello,
I'm trying to add sitemaps on a per object base to my project. I have
created a wrapper around sitemaps.views.sitemap that captures additional
parameters to get the object and create the required sitemap. But I can't
create a sitemap index, since the index views tries to resolve the site
Some further thoughts...
Mariusz, I don't think I agree that WCAG is massive. It can look a little
large but I think that's mostly because each guideline is split into
smaller pieces and it's quite wordy to avoid ambiguity. There are in 2.1 50
success criteria for AA, many of which can be checked