Commit 4b62e8d7 authored by Rob Pike's avatar Rob Pike

fix template.

.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
parent 2f8a2dc1
{.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}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment