mirror of
https://github.com/LBRYFoundation/lbryorg.git
synced 2025-08-23 20:47: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,4 +1,23 @@
|
||||||
<!-- JS DEPENDENCIES -->
|
{% if page.title == 'Home' %}
|
||||||
|
|
||||||
|
<!-- 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/jquery/jquery-3.5.1.min.js" defer></script>
|
||||||
<script src="../lib/bootstrap/js/bootstrap.bundle.min.js" defer></script>
|
<script src="../lib/bootstrap/js/bootstrap.bundle.min.js" defer></script>
|
||||||
<!-- /JS DEPENDENCIES -->
|
<!-- /JS DEPENDENCIES -->
|
||||||
|
@ -6,3 +25,7 @@
|
||||||
<!--CUSTOM JS-->
|
<!--CUSTOM JS-->
|
||||||
<script src="../lib/js/index.js" defer></script>
|
<script src="../lib/js/index.js" defer></script>
|
||||||
<!--/CUSTOM JS-->
|
<!--/CUSTOM JS-->
|
||||||
|
|
||||||
|
<!-- jsPart for DefaultLayoutsPages -->
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue