We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.eleventy.js
1 parent 26c8f54 commit 36b42c0Copy full SHA for 36b42c0
.eleventy.js
@@ -98,7 +98,7 @@ export default function (eleventyConfig) {
98
99
eleventyConfig.addFilter("convertToValidURL", (url) => {
100
if (url.startsWith('http')) return url
101
- const validURL = new URL(url, (isDevelopment) ? "http://localhost" : link.website)
+ const validURL = new URL(url.replace("\/assets\/",""), (isDevelopment) ? "http://localhost" : link.website)
102
return validURL
103
})
104
0 commit comments