.or works in .repeated so remove the comment.
the bug was in the template: .section executes iff the field is non-empty.
R=gri
DELTA=13 (6 added, 7 deleted, 0 changed)
OCL=27710
CL=27712
-{.section Packages}
-{# TODO .or doesn't work on .repeated - template bug}
-{.repeated section @}
+{.repeated section Packages}
godoc {pakname}
-{.end}
{.or}
-package not found: {Path}
+godoc: package not found: {Path}
{.end}
+{.section Packages}
{.repeated section Subdirs}
godoc {Path}/{Name}/
{.end}
+{.end}