title: Relative path in ejs file
body: <p>I am trying to create an express app and it has the following folder structure.</p>
  
  <pre><code>--My_App
     --public
        --stylesheets
           app.css
     --views
        --camps
           index.ejs
        --partials
           header.ejs
     app.js
  </code></pre>
  
  <p>I have set the <code>express</code> to serve the static files of public directory as well <code>app.use(express.static("public"));</code></p>
  
  <p>Here's the problem:</p>
  
  <p>I link the <code>app.css</code> file to my <code>index.ejs</code> file, using <code>href</code> attribute of <code>&lt;link&gt;</code> tag,
  by using the path = <code>"/stylesheets/app.css"</code>, and it works.</p>
  
  <p>But when I try to link the <code>header.ejs</code> file to <code>index.ejs</code> file using 
  <code>&lt;% include /partials/header.ejs %&gt;</code> 
  it gives an error -  <code>could not find "/partials/header.ejs"</code> . Shouldn't this work since express serves the contents of views directory as well</p>
  
  <p>Also, Can you please mention the corresponding absolute paths of above relative paths used.  </p>