sitemap.xml and cards

This commit is contained in:
2026-08-14 10:17:06 +02:00
parent a6036737ee
commit 51507e65ea
17 changed files with 77 additions and 10 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
const path = require("path");
module.exports = function (eleventyConfig) {
eleventyConfig.addGlobalData("site", { url: "https://retro.moonweb.org" });
eleventyConfig.addFilter("date", (d) => d.toISOString());
eleventyConfig.addPassthroughCopy({ "shared/theme-retro.css": "theme.css" });
eleventyConfig.addPassthroughCopy({ "shared/base.css": "shared-base.css" });
eleventyConfig.addPassthroughCopy({ "shared/favicon/retro.svg": "favicon.svg" });
eleventyConfig.addPassthroughCopy({ "retro/robots.txt": "robots.txt" });
return {
dir: {
+4
View File
@@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: https://retro.moonweb.org/sitemap.xml
+5
View File
@@ -0,0 +1,5 @@
---
permalink: /sitemap.xml
eleventyExcludeFromCollections: true
---
{% include "sitemap.njk" %}