title: Linking to other jade files
body: <p>I'm trying to understand how Express and Jade works.</p>
  
  <p>First of all, am I doing it right when I'm using layout.jade as a template file (header, body, footer) and using different files to show information in the body (see examples below)?</p>
  
  <p>The code works fine, but i'm unsure if this is the right way to do stuff in Express. If I should keep going with this structure, how can I link to other files (eg.About.jade) internally from for example index.jade, to show that file instead of index.jade?</p>
  
  <p>Thanks in advance!</p>
  
  <p>layout.jade:</p>
  
  <pre><code>!!! 5
  html
    head
      title= title
      link(rel='stylesheet', href='/stylesheets/style.css')
      script(type='text/javascript', src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js')
      script(type='text/javascript', src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js')
      script(type='text/javascript', src='/javascripts/external.js')
  
    // Header
    header#header
  
    // Navigation
    nav#nav
      // Navigation code (ul, li etc)...
  
    // Sidebar
    aside#sidebar
      // Sidebar code...
  
    // Body
    body!= body
  </code></pre>
  
  <p>index.jade:</p>
  
  <pre><code>!!! 5
  html
    head
      title= title
  
      section#wrapper
        img.imageStyle(src = '/images/test1.png')
        // And so on...
  </code></pre>
  
  <p>About.jade:</p>
  
  <pre><code>// You get it...
  </code></pre>