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"}}
2{{template "page-header" dict "Title" "Scratch" "Sub" "Only you see these: untitled notes, the last edited first. Share any part of one as a team page." "ActionHref" "/scratch/new" "ActionLabel" "New scratch page" "ActionIcon" "plus"}}
3{{with .Data.Pages}}
4{{/* The one place scratch pages are listed (build note 80): the
5 sidebar's Recently edited leaves them out. */}}
6<ul mapa-list aria-label="Your scratch pages">
7{{range .}}<li><a href="{{.Href}}">{{.Label}}</a> <span mapa-meta>edited <time datetime="{{.Edited.Format "2006-01-02T15:04:05Z07:00"}}" title="{{stamp .Edited}}">{{ago .Edited}}</time></span></li>
8{{end}}</ul>
9{{else}}
10{{template "empty-state" dict "Title" "No scratch pages" "Body" "A scratch page is a private note with no title and no date: a draft, a list, a thought." "ActionHref" "/scratch/new" "ActionLabel" "New scratch page"}}
11{{end}}
12{{end}}
13