You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started encountering a strange issue. htmlBase (https://www.11ty.dev/docs/plugins/html-base/) started outputting the base url 3 times instead of just 1, and that - of course - breaks the included stuff on the site.
import { EleventyHtmlBasePlugin } from "@11ty/eleventy";
export default function (eleventyConfig) {
// Make it possible to have the site served in a sub directory
eleventyConfig.addPlugin(EleventyHtmlBasePlugin);
};
lsolesen
changed the title
htmlbase outputs pathPrefix 3 times instead of one
EleventyHtmlBasePlugin outputs pathPrefix 3 times instead of one
Nov 20, 2024
Operating system
Ubuntu
Eleventy
3.0.0
Describe the bug
I started encountering a strange issue. htmlBase (https://www.11ty.dev/docs/plugins/html-base/) started outputting the base url 3 times instead of just 1, and that - of course - breaks the included stuff on the site.
The error can be seen here:
https://lsolesen.github.io/minimal-mistakes/
Crossposted here: https://discord.com/channels/741017160297611315/1308552212125057024
Reproduction steps
I am using this setup:
Seen in: https://github.com/lsolesen/minimal-mistakes/blob/11ty/_config/mainConfig.mjs
Building like this:
And the repos is here:
https://github.com/lsolesen/minimal-mistakes/tree/11ty
Expected behavior
Only write
pathPrefix
one time.Reproduction URL
https://lsolesen.github.io/minimal-mistakes/
Screenshots
No response
The text was updated successfully, but these errors were encountered: