Download this file
| 1 | {{/* deck_notes — GET /d/{sqid}/notes, every slide's notes on one page. |
| 2 | |
| 3 | The scriptless presenter's crib sheet (spec §8): the page a person |
| 4 | prints, or keeps open on a second screen, when they are presenting |
| 5 | from a laptop that is mirroring rather than extending. One heading |
| 6 | per slide, linked to that slide in the viewer, and the notes under |
| 7 | it. |
| 8 | |
| 9 | A slide with no notes says so. On a page being read while |
| 10 | presenting, a heading over nothing is indistinguishable from a |
| 11 | page that failed to load. */}} |
| 12 | {{define "content"}} |
| 13 | {{template "back-nav" dict "Href" .BackHref "Label" .BackLabel}} |
| 14 | {{template "page-header" dict "Title" .Title}} |
| 15 | <div rst-box> |
| 16 | <p>{{.Body}}</p> |
| 17 | </div> |
| 18 | {{range .Slides}} |
| 19 | <div rst-box-head> |
| 20 | <h2><a href="{{.Href}}">{{.Label}}</a></h2> |
| 21 | </div> |
| 22 | <section rst-box> |
| 23 | {{if .Notes}}{{.Notes}}{{else}}<p>{{.Empty}}</p>{{end}} |
| 24 | </section> |
| 25 | {{end}} |
| 26 | {{end}} |
| 27 | |