mirror of
https://github.com/skoelle/moonweb-site.git
synced 2026-09-18 01:10:25 +00:00
Add missing beginning subpage redirects: news, report, sitemap
These 3 pages existed under www.moonweb.org/beginning/ and need redirects to /timecapsule/beginning/.
This commit is contained in:
@@ -76,6 +76,12 @@ module.exports = function (eleventyConfig) {
|
||||
[`hub/${dir}/index.htm`]: `${dir}/index.html`,
|
||||
});
|
||||
}
|
||||
const beginningSubpages = ["news", "report", "sitemap"];
|
||||
for (const name of beginningSubpages) {
|
||||
eleventyConfig.addPassthroughCopy({
|
||||
[`hub/beginning/${name}.htm`]: `beginning/${name}.html`,
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
dir: {
|
||||
|
||||
Reference in New Issue
Block a user