4 changed files with 40 additions and 1 deletions
@ -0,0 +1,23 @@ |
|||
# sitemaps.py |
|||
from django.contrib import sitemaps |
|||
from django.urls import reverse |
|||
|
|||
class StaticViewSitemap(sitemaps.Sitemap): |
|||
priority = 0.5 |
|||
changefreq = 'daily' |
|||
|
|||
def items(self): |
|||
return ['index', |
|||
'lamatour', |
|||
'wildnispaedagogik', |
|||
'externereferentin', |
|||
'kinderfreizeit', |
|||
'honigmassage', |
|||
'psychologischeberatung', |
|||
'pflanzenheilkunde', |
|||
'ohrakupunktur', |
|||
'impressum',] |
|||
|
|||
def location(self, item): |
|||
return reverse(item) |
|||
|
|||
@ -0,0 +1,5 @@ |
|||
User-Agent: * |
|||
|
|||
Disallow: |
|||
|
|||
Sitemap: https://www.sinnes-tau.de/sitemap.xml |
|||
Loading…
Reference in new issue