Skip to content

Commit

Permalink
Add doc links for sitemap format
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément committed Jul 24, 2024
1 parent 08980af commit c77b1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jssg/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
JFME_TEMPLATES_DIRS = [path / "templates" for path in JFME_CONTENT_DIRS]
JFME_STATIC_DIRS = [path / "static" for path in JFME_CONTENT_DIRS]
JFME_NUMBER_OF_POSTS_BY_PAGE = 3
JFME_SITEMAP_LASTMOD_DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S%z" # %Y:YYYY, %m:MM, %d:DD, %z:+/-HHMM
JFME_SITEMAP_LASTMOD_DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S%z" # strftime format, see https://docs.python.org/fr/3.6/library/datetime.html#strftime-and-strptime-behavior, see https://www.sitemaps.org/protocol.html#lastmoddef for allowed datetime formats

#Django sites and sitemap app
SITE_ID = 1
Expand Down

0 comments on commit c77b1e3

Please sign in to comment.