Django sitemap static pages
<p>I have a website containing dynamic pages for Content which is added and removed periodically. Along with that the website also has static pages that always exist like /, /about, /how-it-works etc.
I have configured my sitemaps.py file to load all the dynamic content pages in the sitemap.</p>

<p><strong>sitemap.xml</strong></p>

<pre><code>...
&lt;url&gt;
&lt;loc&gt;
https://www.mywebsite.com/record?type=poem&amp;id=165
&lt;/loc&gt;
&lt;changefreq&gt;weekly&lt;/changefreq&gt;
&lt;priority&gt;0.5&lt;/priority&gt;
&lt;/url&gt;
...
</code></pre>

<p><strong>sitemaps.py</strong></p>

<pre><code>from django.contrib.sitemaps import Sitemap

from website.models import Content

class MySitemap(Sitemap):
    changefreq = "weekly"
    priority = 0.5

    def items(self):
        return Content.objects.all()
</code></pre>

<p><strong>models.py</strong></p>

<pre><code>class Content(models.Model):
    content_type = models.CharField(max_length=255)
    ...
    def get_absolute_url(self):
        return '/record?type=' + self.content_type + '&amp;id=' + str(self.id)
</code></pre>

<p>How do I add those static pages (/, /about etc) in my sitemap?
Thanks!</p>