Open xplosionmind opened 2 years ago
Lookin’
ohhhhh dang the directory output plugin—a rare sighting!
I think this might be a plugin issue, not sure! I can’t reproduce it locally:
yours:
Can you go through your third-party plugins and comment them out one-by-one to see if one of them is causing the issue?
The issue still shows up when all plugins are removed. Please do not refer to the published version, it still relies on a broken Jekyll build. Please refer to this branch for further testing.
ohhhhh dang the directory output plugin—a rare sighting!
I take it as a compliment, thanks a lot!
Hello there, the problem still persists… I removed one-by-one each plugin: this is not a problem caused by a plugin.
What can I do?
(Note: I deployed the website to production, the content of the repo is deployed to quitsocialmedia.club)
@xplosionmind Which page(s) are showing unexpected strings in the output? I git cloned, npm installed, and then ran npm run watch:eleventy but didn't see anything obvious on the local dev server (or on your production site).
Describe the bug The template engine prints some unexpected strings
To Reproduce Steps to reproduce the behavior:
layouts/wrapper.html
look at this functionincludes/nav.html
check this function using the results of the previous onenpm run start
Unexpectedly, in every page containing the rendered
nav.html
, a bunch of<a>
tags are added. For example, the output ofpages/Home.html
is:<a rel="alternate" href="[/it/home/](view-source:http://localhost:8080/it/home/)" title="Home" hreflang="it">
, definitely out of place.Expected behavior The correct behavior happens in another place, following the same logic. For example, in
includes/head.html
this function prints out the correct result, without any trash (output always frompages/Home.html
):Environment: