forked from github/pelican
We already check if loop.length > 1 before outputting <section> and <ol> tags, but we neglected to do the same check when outputting the corresponding end tags. Also, since I had to read the code when I touched it, simplified a conditional: if (a) if (a and (b or not b and c)) can be simplified to if (a) if (b or c) Note the "b or not b", it was just too ugly to not fix. |
||
|---|---|---|
| .. | ||
| bar.html | ||
| cat1.html | ||
| misc.html | ||
| yeah.html | ||