title: How can I link to a .ejs-page from a .html-page?
body: <p>I am making a webpage and I have been looking on stackoverflow on how to link to .ejs-files from a .html-file. </p>
  
  <p>People are saying the following</p>
  
  <p><strong>In index.html:</strong></p>
  
  <pre><code>&lt;li&gt;&lt;a href="views/twitter"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p><strong>In script.js:</strong></p>
  
  <pre><code>app.get('/twitter',function(req,res){
   res.render('twitter', { });
  });
  </code></pre>
  
  <p>But it does not work for me. It says "Your file was not found"</p>
  
  <p>However, when i put .ejs behind, like this:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="views/twitter.ejs"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I can access the page, but without css. I understand that I need to create a controller so I can be able to see the css as well, but how? How can I link it so I can view it correctly? It works on localhost, but not when I first click on index.html and then click on twitter.ejs from there. I can't find any tutorials that refers to this problem. </p>