Included sub-pattern HTML nesting #194
-
|
Hi there, I'm using django-pattern library for the first time. I created a couple of smaller components: Components homepage.html hero.html latest_updates.html ** Unexpected compiled output ** Expected output: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Hi @juliat, did you set up your base template as documented? Your examples are a bit hard to follow with so much markup in each template, if you want further help please take a moment to simplify them to demonstrate what you’re expecting better, and share your base template with |
Beta Was this translation helpful? Give feedback.
-
|
I think this could just be an error in your markup, rather than an issue with the pattern library. You seem to have an unclosed |
Beta Was this translation helpful? Give feedback.
-
|
Hi @bcdickinson thank you for helping me catch that unclosed |
Beta Was this translation helpful? Give feedback.
I think this could just be an error in your markup, rather than an issue with the pattern library. You seem to have an unclosed
<div>tag on line 4 of your hero.html template. Does closing that correctly help?