diff options
Diffstat (limited to 'got')
-rw-r--r-- | got/view_blob.got | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/got/view_blob.got b/got/view_blob.got index 752d5c7..16d7ff1 100644 --- a/got/view_blob.got +++ b/got/view_blob.got @@ -1,6 +1,10 @@ <!-- -*- Mode: HTML -*- --> <h1>{{.path | html}}</h1> <p>Content-Type: {{.ctype | html}}</p> +{{if not .exists}} +<aside><p>This file does not exist, but it can be created by + submitting this page.</p></aside> +{{end}} {{if istext .ctype}} <form method="POST" enctype="multipart/form-data"> <input type="hidden" name="_method" value="PUT"> |