fix age.html (shoutout to Dmitri!)
Jes Olson j3s@c3f.net
Mon, 23 Oct 2023 20:27:54 -0500
2 files changed,
5 insertions(+),
3 deletions(-)
M
templates/age.html
→
templates/age.html
@@ -1,4 +1,6 @@
-{{ define "body" }} +{{ define "age.html" }} +{{ template "head" . }} +{{ template "nav" . }} <h3>tools/age</h3> <p>use this form to encrypt age data for people, if you want. my public key is <pre>age12amwzaps3lfy5y7kup5h730d2alfcpxlrnahgxv7u4a877hl9c8s6h2wuf</pre></p> <form method="POST">@@ -11,7 +13,7 @@ </form>
{{ if . }} <h3>result</h3> <pre> -{{ . }} +{{ .Data }} </pre> {{ end }} {{ end }}