We are using wintersmith as our blog framework and noticed a lot of inconsistencies in the boilerplate example for the blog template. This PR attempts to fix them up. In this PR:
Converted archive.jade from tab indentation to spaces indentation
Added missing semicolons
Guaranteed consistent spacing for functions function(param) { /* body */ }
Moved to consistently use Jade loops outside of variable generation
Always use each for loops in Jade
Removed excess semicolons from inline styles
Removed excess trailing whitespace in files (e.g. 5 newlines at end of a file)
Always use single quotes in templates
Added missing spaces around + and after = for a tag's content
Added leading whitespace line for extended Jade templates
We are using
wintersmith
as our blog framework and noticed a lot of inconsistencies in the boilerplate example for theblog
template. This PR attempts to fix them up. In this PR:archive.jade
from tab indentation to spaces indentationfunction(param) { /* body */ }
each
for loops in Jade+
and after=
for a tag's content