title: I can't include an ejs partial in my pages and I'm not sure why
body: <p>So I'm having some trouble with my ejs templates. Below is how my file structure. In the file <code>pages/index.ejs</code>, I am importing the partials <code>partials/ga.ejs</code>. It works wonderfully. However, if I added the same partials code into another page.. such as <code>pages/blog.ejs</code>, it doesn't work anymore.</p>
  
  <p>It's like I can't import a partial in more than once.</p>
  
  <p>Below is the file structure:</p>
  
  <p><a href="https://i.stack.imgur.com/lTznr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lTznr.png" alt="enter image description here"></a></p>
  
  <p>EDIT; sorry, I forgot to include how I'm including it. So in the <code>pages/index.ejs</code> file:</p>
  
  <p><code>&lt;% if (showGoogleAnalytics) { %&gt;
      &lt;% include ../partials/ga %&gt;
      &lt;% } %&gt;
  </code></p>