my eye

Fix template error on project index

Committed fe968e

--- a/webint_code/templates/project/index.html
+++ b/webint_code/templates/project/index.html

 
 $if pyproject:
     $ py_project = pyproject["tool"]["poetry"]
+    $ py_project_name = py_project.pop("name")
     $ title += f"&thinsp;<code style=font-size:.5em>{py_project.pop('version')}</code>"
     <p><big>$py_project.pop("description")</big><br>
     $if keywords := py_project.pop("keywords", None):
     <hr>
 
 $if pyproject:
-    <p><small><strong>Package:</strong> <code>$py_project.pop("name")</code>
+    <p><small><strong>Package:</strong> <code>$py_project_name</code>
     $for source in py_project.pop("source", []):
         $if source["name"] == "main":
             <code>@<a href="$source['url']">$source["url"]</a></code>
                 $ webapp_path = webapp_callable.replace(".", "/").replace(":", "#")
                 <a href="/projects/$project/api/$webapp_path">$webapp</a>
                 <form method=post action=$tx.origin/sites/machines>
-                    <input type=hidden name=package value=$py_project["name"]>
+                    <input type=hidden name=package value=$py_project_name>
                     <input type=hidden name=app value=$webapp_callable>
                     <button>Spawn</button>
                 </form>