http-nu
http-nu copied to clipboard
bug: should 500 when the closure errors
open data/plantings.yaml | to json | minijinja-cli -f json ./html/index.html -
Listening on 127.0.0.1:5002
error: template not found: tried to include non-existing template "socials.html" (in /Users/andy/s/03d9siz1v3rijabmr0tl8onth/ndyg.nu/html/base.html:37)
---------------------------------- base.html ----------------------------------
34 | <div style="padding-left: 1em; padding-right: 1em">
35 | <header>
36 | <h1>@<a href="/">ndyg</a></h1>
37 > {% include 'socials.html' %}
i ^^^^^^^^^^^^^^^^^^^^^^ template not found
38 | </header>
39 | <div>{% block main %}{% endblock %}</div>
40 | </div>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No referenced variables
-------------------------------------------------------------------------------
* Request completely sent off
< HTTP/1.1 200 OK
< content-type: text/html; charset=utf-8
< transfer-encoding: chunked
< date: Thu, 20 Feb 2025 03:41:56 GMT