semestergen/tpl/schedule.adoc.tpl

14 lines
422 B
Smarty
Raw Permalink Normal View History

2019-12-12 16:33:12 +00:00
{{- range $key, $value := .Days}}
{{- range $value.Links}}
:{{.Slug}}: link:{{.URL}}
{{- end}}
{{- end}}
[%header,format=psv,cols="^5h,47d,47a"]
|===
| Day | Topics | Notes
{{range $key, $value := .Days}}
| {{$value.Num}} | {{$value.Title}} | {{range $idx, $l := $value.Links}}{{if $idx}}; {{end}}{{$l.Slug | printf "{%s}"}}[{{$l.Title}}]{{end}}
{{end}}
|===