diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-08-21 18:28:30 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-08-21 18:28:30 -0400 |
| commit | 47dca324a446bf088164a8e27404c2b8db89ccf5 (patch) | |
| tree | cd6407bd09ee5acc027fc69a51d98156a6ab7e9a /templates/error.tpl | |
| parent | d25b274356451623382d18d2e0e190f407dbcf9f (diff) | |
| download | paste-47dca324a446bf088164a8e27404c2b8db89ccf5.tar.gz paste-47dca324a446bf088164a8e27404c2b8db89ccf5.tar.xz | |
Turn it into a simple rough draft of an API driven pastebin
Diffstat (limited to 'templates/error.tpl')
| -rw-r--r-- | templates/error.tpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/error.tpl b/templates/error.tpl new file mode 100644 index 0000000..4b36bdb --- /dev/null +++ b/templates/error.tpl @@ -0,0 +1,11 @@ +{{template "base" .}} + +{{define "title"}}Error {{.Short}}{{end}} + +{{define "content"}} + +<h1>{{.Short}}</h1> + +{{.Long}} + +{{end}} |
