Skip to content

Commit

Permalink
[FIX] Framework loaded twice on v2
Browse files Browse the repository at this point in the history
  • Loading branch information
SamBrishes committed Aug 30, 2022
1 parent 5190f70 commit 785eea2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion layouts/default.htm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
{% scripts %}
{% if legacy %}
<script src="{{ ['@jquery', '@framework'] | theme }}"></script>
{% else %}
{% framework %}
{% endif %}
{% framework %}
</body>
</html>
3 changes: 2 additions & 1 deletion layouts/page-default.htm
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ <h1 class="post-title">{{ page.title | default(this.page.title) }}</h1>
{% scripts %}
{% if legacy %}
<script src="{{ ['@jquery', '@framework'] | theme }}"></script>
{% else %}
{% framework %}
{% endif %}
{% framework %}
</body>
</html>
3 changes: 2 additions & 1 deletion layouts/page-fullwidth.htm
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ <h1 class="post-title">{{ page.title | default(this.page.title) }}</h1>
{% scripts %}
{% if legacy %}
<script src="{{ ['@jquery', '@framework'] | theme }}"></script>
{% else %}
{% framework %}
{% endif %}
{% framework %}
</body>
</html>

0 comments on commit 785eea2

Please sign in to comment.