all repos — flounder @ e8c4efc8ff0efd2f3f607384d88a92bf18e364c3

A small site builder for the Gemini protocol

templates/edit_file.html (view raw)

1{{template "header" .}}
2<h2>Editing {{.FileName}}</h2>
3<form id="edit-form" action="/edit/{{.FileName}}" method="POST">
4  <textarea rows="20" name="file_text" id="editor">{{.FileText}}</textarea>
5  <br>
6  <input type="submit" value="Save file" class="button">
7</form>
8{{template "footer" .}}