-
-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After generate the paginated page I get weird tags included #1482
Comments
@ckissi can you share the contents of |
It happens if I remove the header and footer include from the layout file as well. So it must be something else. |
@edwardhorsford The problem was that the permalink was no dynamic and it seems like the page was always theme/index.html Seems that the page is not overwritten but like the HTML code is injected in it. So if the last generated page HTML was small in size than the previous one it's causing the part of HTML of the previously generated page for the same permalink will stay visible. I changed the permalink to this: and it works now. |
Good catch. Did you get an error about writing to the same file multiple times? If not that would seem a good thing for Eleventy to output. |
No error man. Everything seemed to be OK. It would be definitely a great feature to show this. |
@zachleat might be something to look at? I presume most cases of pagination writing to the exact same permalink are likely mistakes. |
Shouldn't that be catched by #562 already? |
In dev as well as in production I'm getting weird tags included for the paginated page.
code for the page looks like this:
Code of the layout file:
Running on MacOS Catalina + Eleventy 0.11.0
The text was updated successfully, but these errors were encountered: