<!doctype html>
<html>

{% include head.html %}

<body>

  <div class="container">
    {% include header.html %}

    <div class="post-container">
      {{ content }}
    </div>

    {% include footer.html %}

  </div>

</body>
<script src="{{ site.base_url }}assets/js/main.js"></script>
</html>

<!doctype html>
<html>

{% include head.html %}

<body>

  <div class="container">
    {% include header.html %}

    <div class="post-container">
      {{ content }}
    </div>

    {% include footer.html %}

  </div>

</body>
<script src="{{ site.base_url }}/assets/js/main.js"></script>
</html>

Fix main.js loaded as relative file
Fix main.js loaded as relative file
