Replies: 2 comments 2 replies
-
Works for me… https://github.com/pdehaan/11ty-2984/ src/index.njk [1]Hello! www/index.html [2]Hello! |
Beta Was this translation helpful? Give feedback.
2 replies
-
The problem was "eleventy-plugin-external-links" that adds some extra code. Now I disabled it and every goes right https://www.npmjs.com/package/@aloskutov/eleventy-plugin-external-links |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using njk syntax with eleventy to generate some snippets of html code for another project.
if I compile njk template in src folder like this:
<p>Hello!</p>
It will compile with more html tags:
``
<!doctype html>
<html>
<head></head>
<body>
Hello
</body></html>``How can tell to eleventy to avoid adding full html structure around my page code?
Beta Was this translation helpful? Give feedback.
All reactions