diff --git a/.eleventy.js b/.eleventy.js
index 7d9a88f..483c292 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -127,6 +127,7 @@ module.exports = function(eleventyConfig) {
let permalink = `/notes/${slugify(fileName)}`;
const title = linkTitle ? linkTitle : fileName;
+ let deadLink = false;
try {
@@ -136,10 +137,10 @@ module.exports = function(eleventyConfig) {
permalink = frontMatter.data.permalink;
}
} catch {
- //Ignore if file doesn't exist
+ deadLink = true;
}
- return `${title}`;
+ return `${title}`;
});
})
diff --git a/src/site/styles/style.scss b/src/site/styles/style.scss
index 9859a4b..9695368 100644
--- a/src/site/styles/style.scss
+++ b/src/site/styles/style.scss
@@ -39,6 +39,9 @@ h4 {
font-family: 'Roboto', sans-serif;
}
+a.is-unresolved{
+ color: rgb(97 186 245 / 65%);
+}
a {
text-decoration: underline;
color: rgb(97, 186, 245);
@@ -73,4 +76,4 @@ p>code {
//Inline code
color: #c7254e;
background-color: #1a1a1a;
-}
\ No newline at end of file
+}