1{{define "title"}}Cartograph · collection{{end}}2{{define "content"}}3<section class="page-head">4 <h1>Collection</h1>5 <p class="dim">{{.Dir}}</p>6</section>7{{range .Skipped}}<p class="warn">{{.}}</p>{{end}}8{{if .Volumes}}9<p class="dim note">Figures are the serving build's — the one the reader picks.</p>10<table>11 <thead><tr>12 <th>volume</th><th class="num">builds</th><th class="num">pins</th>13 <th class="num">described</th><th class="num">raster</th><th class="num">depth</th>14 <th class="num">layers</th><th class="num">icons</th><th>merged sources</th>15 </tr></thead>16 <tbody>17 {{range .Volumes}}{{$serving := .Serving}}18 <tr>19 <td><a href="/volume/{{.Slug}}">{{.Title}}</a> <span class="dim">{{.Slug}}</span></td>20 <td class="num">{{len .Builds}}</td>21 <td class="num">{{$serving.Pins}}</td>22 <td class="num">{{$serving.DescribedPct}}</td>23 <td class="num">{{$serving.RasterMB}} MB</td>24 <td class="num">z{{$serving.Depth}}</td>25 <td class="num">{{$serving.Lenses}}</td>26 <td class="num">{{$serving.IconPct}}</td>27 <td>{{range $serving.SourcesSeen}}<span class="badge">{{.}}</span>{{else}}<span class="dim">—</span>{{end}}</td>28 </tr>29 {{end}}30 </tbody>31</table>32{{else}}33<p class="empty">No bundles in this directory yet.</p>34{{end}}35{{end}}