oficina / mapa Public

Clone
git clone https://amadan.net/oficina/mapa

Plain git — no account needed to clone.

Download

Download this file

1{{define "content"}}{{$d := .Data}}
2{{if $d.Island}}
3{{template "mapa-doc-head" dict "Page" $d.Page "Edit" "/scratch/new?markdown=1"}}
4{{template "mapa-island" $d.Island}}<article mapa-body rst-section>{{$d.Page.HTML}}</article>
5{{else}}
6{{template "back-nav" dict "Href" "/scratch" "Label" "Scratch"}}
7{{template "page-header" dict "Title" "New scratch page" "Sub" "Only you can open it. It is saved when you save it, and not before."}}
8{{template "notice" $d.Notice}}
9<form rst-form method="post" action="{{$d.Action}}" mapa-edit-form>
10{{template "mapa-editor" dict "Body" $d.Body "Error" $d.Error "Upload" "/scratch?upload=1"}}
11{{template "form-foot" dict "Submit" "Save" "CancelHref" "/scratch" "CancelLabel" "Cancel"}}
12</form>
13{{template "mapa-page-images" dict "Images" $d.Images "Back" "/scratch"}}
14{{end}}
15{{end}}
16