Extract scripts

This commit is contained in:
Maria Rushkova 2021-08-05 16:38:33 +02:00
parent adda19a88b
commit 632b1113d2
2 changed files with 3 additions and 4 deletions

2
_includes/scripts.html Normal file
View File

@ -0,0 +1,2 @@
<script src="{{ '/assets/js/main.js' | relative_url }}"></script>
<script src="{{ '/assets/js/smooth-scroll.js' | relative_url }}"></script>

View File

@ -10,9 +10,6 @@
<main class="bg-white text-black flex flex-col">{{ content }}</main> <main class="bg-white text-black flex flex-col">{{ content }}</main>
</div> </div>
{% include footer.html %} {% include footer.html %} {% include scripts.html %}
<script src="{{ '/assets/js/main.js' | relative_url }}"></script>
<script src="{{ '/assets/js/smooth-scroll.js' | relative_url }}"></script>
</body> </body>
</html> </html>