mirror of
https://github.com/LBRYFoundation/lbryorg.git
synced 2025-08-23 12:37:23 +00:00
added single js for home and other pages
This commit is contained in:
parent
7287085272
commit
df34faff6a
1 changed files with 30 additions and 7 deletions
|
@ -1,8 +1,31 @@
|
|||
<!-- JS DEPENDENCIES -->
|
||||
<script src="../lib/jquery/jquery-3.5.1.min.js" defer></script>
|
||||
<script src="../lib/bootstrap/js/bootstrap.bundle.min.js" defer></script>
|
||||
<!-- /JS DEPENDENCIES -->
|
||||
{% if page.title == 'Home' %}
|
||||
|
||||
<!--CUSTOM JS-->
|
||||
<script src="../lib/js/index.js" defer></script>
|
||||
<!--/CUSTOM JS-->
|
||||
<!-- jsPart for HOMEPAGE -->
|
||||
|
||||
<!-- JS DEPENDENCIES -->
|
||||
<script src="./lib/jquery/jquery-3.5.1.min.js" defer></script>
|
||||
<script src="./lib/bootstrap/js/bootstrap.bundle.min.js" defer></script>
|
||||
<!-- /JS DEPENDENCIES -->
|
||||
|
||||
<!-- CUSTOM JS -->
|
||||
<script src="./lib/js/index.js" defer></script>
|
||||
<!-- /CUSTOM JS -->
|
||||
|
||||
<!-- jsPart for HOMEPAGE -->
|
||||
|
||||
{% elsif page.layout == 'default' %}
|
||||
|
||||
<!-- jsPart for DefaultLayoutsPages -->
|
||||
|
||||
<!-- JS DEPENDENCIES -->
|
||||
<script src="../lib/jquery/jquery-3.5.1.min.js" defer></script>
|
||||
<script src="../lib/bootstrap/js/bootstrap.bundle.min.js" defer></script>
|
||||
<!-- /JS DEPENDENCIES -->
|
||||
|
||||
<!--CUSTOM JS-->
|
||||
<script src="../lib/js/index.js" defer></script>
|
||||
<!--/CUSTOM JS-->
|
||||
|
||||
<!-- jsPart for DefaultLayoutsPages -->
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue