mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
fix: date sitemap entries from their pages
The sitemap gave every page the build date. A page now states its own date and a mkdocs hook passes it on, or leaves lastmod out. The values added to the site's code spans today are also escaped: a backtick in a profile or file name could close the span and inject markup.
This commit is contained in:
1 parent
f5e3404a8d
commit
bd75defb61
7 files changed
+88
-7
No files matched your search
@@ -8,6 +8,9 @@ repo_name: Abdess/retrobios
|
||||
# Almost every page is generated from platforms/, emulators/ and database.json,
|
||||
# so a per-page edit link would point at a file that does not exist.
|
||||
edit_uri: ''
|
||||
# lastmod in the sitemap from each page's own date, or none at all.
|
||||
hooks:
|
||||
- scripts/mkdocs_hooks.py
|
||||
# Working notes kept under docs/ during development are not part of the site.
|
||||
exclude_docs: |
|
||||
plans/
|
||||
|
||||
Reference in new issue
Block a user