Jade Include not working (on Extended template)
<p>Simple question:
I'm starting a new small project where I have 1 jade file for variables,1 jade file for layout,1 jade file for mixins and finally 1 file for a template.</p>

<p>When I try to use imported <strong>variables from the external file, they aren't being loaded</strong> into the template, whereas the mixins do.</p>

<p>When page1.jade is processed, mixins are imported correctly, layout is extended correctly, but variable from styles.jade is not imported (or that is what is seems) as the mixins is unable to reach the variable <em>styleCenterMain</em> to be assigned to the style attribute).</p>

<p><strong>page1.jade:</strong></p>

<pre><code>include mixins.jade
include styles.jade
extends layout.jade

block append wholeContent   

block append wholeContent
    div.test1 Hi world

block append wholeContent
    div.test2 Hi Again

block append wholeContent   
    +moduleMain()
        p Some content to pass to mixin
</code></pre>

<p><strong>mixins.jade:</strong> (Here is where a get the Error.)</p>

<pre><code>mixin moduleMain()
  table(style=styleCenterMain width="100%" height="100%")          
</code></pre>

<p><strong>style.jade.</strong></p>

<pre><code>- styleCenterMain ="margin-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; padding-bottom: 0; padding-top: 0; padding-right: 0; padding-left: 0; vertical-align: top;"
</code></pre>

<p><strong>layout.jade (xml file):</strong></p>

<pre><code>&lt;?xml version="1.0"?&gt;
doctype html

    head        

    body
        &lt;!-- main content --&gt;   

        div(style="background-color:#f2f4f5; margin:0 auto;")
            block wholeContent              
</code></pre>

<p>Can anyone give a hint of why style.jade is not imported or why its variable are not accessed by the mixin?</p>

<p>Thanks a lot beforehand</p>