def sitemap(cls, page): sitemap_section = SitemapSection(cls, [ ('displayed_on_eshop', '=', True), ('template.active', '=', True), ], page) sitemap_section.changefreq = 'daily' return sitemap_section.render()
def sitemap(cls, page): sitemap_section = SitemapSection( cls, [ ('active', '=', True), ], page ) sitemap_section.changefreq = 'daily' return sitemap_section.render()
def sitemap(cls, page): sitemap_section = SitemapSection( cls, [ ('displayed_on_eshop', '=', True), ('template.active', '=', True), ], page ) sitemap_section.changefreq = 'daily' return sitemap_section.render()
def sitemap(cls, page): sitemap_section = SitemapSection( cls, [ ('displayed_on_eshop', '=', True), ('id', 'in', request.nereid_website.get_categories()) ], page ) sitemap_section.changefreq = 'daily' return sitemap_section.render()
def sitemap(self, page): categories = request.nereid_website.get_categories() + [None] sitemap_section = SitemapSection( self, [ ('displayed_on_eshop', '=', True), ('category', 'in', categories) ], page ) sitemap_section.changefreq = 'daily' return sitemap_section.render()
def sitemap(cls, page): categories = request.nereid_website.get_categories() + [None] sitemap_section = SitemapSection( cls, [ ('displayed_on_eshop', '=', True), ('category', 'in', categories), ('template.active', '=', True), ], page ) sitemap_section.changefreq = 'daily' return sitemap_section.render()
def sitemap(cls, page): sitemap_section = SitemapSection(cls, [], page) sitemap_section.changefreq = 'daily' return sitemap_section.render()
def sitemap(cls, page): sitemap_section = SitemapSection(cls, [ ('active', '=', True), ], page) sitemap_section.changefreq = 'daily' return sitemap_section.render()