mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-11-08 22:38:36 +01:00
Improve XML sitemap metadata
This commit is contained in:
1 parent
5838d3a999
commit
59b8e2fbbb
41 files changed
+61
-38
No files matched your search
@@ -28,6 +28,10 @@ function rewriteManualLinks(content, lang) {
|
||||
|
||||
module.exports = function (eleventyConfig) {
|
||||
|
||||
eleventyConfig.addFilter("dateToIso", function (dateObj) {
|
||||
return new Date(dateObj).toISOString().split("T")[0];
|
||||
});
|
||||
|
||||
eleventyConfig.addFilter("dateToRfc822", function (dateObj) {
|
||||
return new Date(dateObj).toUTCString();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user