Skip to content

Commit 8ab3c5e

Browse files
shahmishalfedericobucchi
authored andcommitted
Fix the order of the javascript
1 parent 0560240 commit 8ab3c5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_layouts/new-layouts/base.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,10 @@
175175
</main>
176176

177177
<script src="/assets/javascripts/new-javascripts/application.js"></script>
178-
<!-- metrics -->
178+
{% if page.url == "/" %}
179+
<script src="/assets/javascripts/new-javascripts/landing.js"></script>
180+
{% endif %}
181+
<!-- metrics -->
179182
<script>
180183
/* RSID: */
181184
var s_account="awdswiftorg"
@@ -190,8 +193,5 @@
190193
</script>
191194
{% endif %}
192195
<!-- /metrics -->
193-
{% if page.url == "/" %}
194-
<script src="/assets/javascripts/new-javascripts/landing.js"></script>
195-
{% endif %}
196196
</body>
197197
</html>

0 commit comments

Comments
 (0)