{{define "yield"}}

Notes

{{template "pageToolbar" dict "data" . "class" "toolbar"}}
{{if eq (len .NoteGroups) 0 }}
No notes found.
{{end}} {{range .NoteGroups}} {{template "noteGroup" .}} {{end}}
{{end}} {{define "noteGroup"}}

{{end}} {{define "noteItem"}}
  • {{ .Book.Label }}

    {{template "time" dict "value" .UpdatedAt "text" (timeAgo .UpdatedAt)}}
    {{ excerpt .Body 160 }}
  • {{end}} {{define "pageToolbarContent"}} {{end}} {{define "pager"}} {{$ariaLabel := ""}} {{if eq .direction "left"}} {{$ariaLabel = "Previous page"}} {{else}} {{$ariaLabel = "Next page"}} {{end}} {{if .disabled}} {{template "caret" dict "direction" .direction "stroke" "gray"}} {{else}} {{template "caret" dict "direction" .direction "stroke" "black"}} {{end}} {{end}}