Added a new scripts block to the default layout

This commit is contained in:
2025-07-01 13:49:00 -04:00
parent 089b2289c7
commit e06f3274ec
2 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,10 @@
{% block title %}Test: {{ test.title }}{% endblock %}
{% block scripts %}
<script src="/js/test.js" type="text/javascript"></script>
{% endblock %}
{% block content %}
<div class="row">
<h2>Test: {{ test.title }}</h2>
@ -81,6 +85,4 @@
<p><a href="/test">Back</a></p>
</div>
<script src="/js/test.js" type="text/javascript"></script>
{% endblock %}