when I try to add in some.html script tag throws this error --PhalconException: Child templates only may contain blocks-- add this tag because if I write javascript code in the block {% block on_ready %} the IDE not will syntax highlighting js that enter here .
// index.html
$(document).ready(function(){
{% block on_ready %}{% endblock %}
});
// some.html
{% extends index.html %}
<script type="text/javascript">
{% block on_ready %}
console.log("test");
{% endblock %}
</script>
Thanks