aboutsummaryrefslogtreecommitdiff
path: root/example-site/login.md
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2022-09-17 11:41:20 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2022-09-17 11:41:20 -0400
commitccc26c3a0bb65ae2613e222c3ead7f6db377b483 (patch)
tree6124ae75f557fffe863134b967ee7c6bfcc87d3d /example-site/login.md
parentbf7d9c79cae53f64fcd04527248987bd4e7ca3c4 (diff)
downloadgo-website-ccc26c3a0bb65ae2613e222c3ead7f6db377b483.tar.gz
go-website-ccc26c3a0bb65ae2613e222c3ead7f6db377b483.tar.xz
More work on the editor and update the example site to utilize it.v0.0.18
Diffstat (limited to 'example-site/login.md')
-rw-r--r--example-site/login.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/example-site/login.md b/example-site/login.md
new file mode 100644
index 0000000..1b29ddd
--- /dev/null
+++ b/example-site/login.md
@@ -0,0 +1,21 @@
+---
+title: Login
+description: Login page
+|---
+
+<form action="/login" method="POST">
+<label for="username">Username:</label>
+<input type="text" id="username" name="username" />
+
+<label for="password">Password:</label>
+<input type="password" id="password" name="password" />
+
+<input type="submit" value="submit">
+</form>
+
+
+{{if .Vars}}
+```
+{{.Vars}}
+```
+{{else}}{{end}}