http-nu icon indicating copy to clipboard operation
http-nu copied to clipboard

bug: should 500 when the closure errors

Open cablehead opened this issue 10 months ago • 0 comments

      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

cablehead avatar Feb 20 '25 03:02 cablehead