aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author2024-09-07 12:57:35 +0530
committer2024-09-07 12:57:35 +0530
commit4a6edc94dcdad02fd8818b39b7ecafbef08440f4 (patch)
tree414cd4e72befae500f047792de26f69ec317d174
parentMisc Fixes and Updates (diff)
downloadsudomsg-4a6edc94dcdad02fd8818b39b7ecafbef08440f4.tar
sudomsg-4a6edc94dcdad02fd8818b39b7ecafbef08440f4.tar.gz
sudomsg-4a6edc94dcdad02fd8818b39b7ecafbef08440f4.tar.bz2
sudomsg-4a6edc94dcdad02fd8818b39b7ecafbef08440f4.tar.lz
sudomsg-4a6edc94dcdad02fd8818b39b7ecafbef08440f4.tar.xz
sudomsg-4a6edc94dcdad02fd8818b39b7ecafbef08440f4.tar.zst
sudomsg-4a6edc94dcdad02fd8818b39b7ecafbef08440f4.zip
Deal with inaccesible public dir and missing sitemap
-rw-r--r--data/metadata.js2
-rw-r--r--eleventy.config.js2
-rw-r--r--public/_headers (renamed from src/public/_headers)0
-rw-r--r--public/_redirects (renamed from src/public/_redirects)0
-rw-r--r--public/favicon.svg (renamed from src/public/favicon.svg)0
-rw-r--r--public/profile.jpg (renamed from src/public/profile.jpg)bin7401478 -> 7401478 bytes
-rw-r--r--public/robots.txt (renamed from src/public/robots.txt)0
-rw-r--r--src/sitemap.11ty.js2
8 files changed, 3 insertions, 3 deletions
diff --git a/data/metadata.js b/data/metadata.js
index d75013c..1518bb0 100644
--- a/data/metadata.js
+++ b/data/metadata.js
@@ -7,7 +7,7 @@ export default {
author: {
name: "Marc Pervaz Boocha",
email: "mboocha@sudomsg.com",
- image: "/public/profile.jpg",
+ image: "../public/profile.jpg",
url: "/about/#marc-pervaz-boocha"
}
}
diff --git a/eleventy.config.js b/eleventy.config.js
index ce5171b..afe6988 100644
--- a/eleventy.config.js
+++ b/eleventy.config.js
@@ -38,7 +38,7 @@ export default async function(eleventyConfig) {
eleventyConfig.addPlugin(pluginWebc);
eleventyConfig.addPassthroughCopy({
- "./public/": "/",
+ "public/": "/",
});
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
diff --git a/src/public/_headers b/public/_headers
index 5139dee..5139dee 100644
--- a/src/public/_headers
+++ b/public/_headers
diff --git a/src/public/_redirects b/public/_redirects
index dc42aa9..dc42aa9 100644
--- a/src/public/_redirects
+++ b/public/_redirects
diff --git a/src/public/favicon.svg b/public/favicon.svg
index c10bfd4..c10bfd4 100644
--- a/src/public/favicon.svg
+++ b/public/favicon.svg
diff --git a/src/public/profile.jpg b/public/profile.jpg
index b180c73..b180c73 100644
--- a/src/public/profile.jpg
+++ b/public/profile.jpg
Binary files differ
diff --git a/src/public/robots.txt b/public/robots.txt
index b5f1e36..b5f1e36 100644
--- a/src/public/robots.txt
+++ b/public/robots.txt
diff --git a/src/sitemap.11ty.js b/src/sitemap.11ty.js
index 5b793cf..d12529e 100644
--- a/src/sitemap.11ty.js
+++ b/src/sitemap.11ty.js
@@ -1,7 +1,7 @@
export default class {
data() {
return {
- permalink: "/sitemapa.xml",
+ permalink: "/sitemap.xml",
eleventyExcludeFromCollections: true
};
}