Open jasonlally opened 10 years ago
Strange, is your repo's source up somewhere?
The full source is here:
https://github.com/jasonlally/jasonlally.github.io/tree/source
I'm running node 0.10.22, npm 1.3.15, docpad 6.57.1
I think I found a way to fix my problem. I don't know why exactly, but I was using WebStorm to work on my site and I think it was doing something strange to my whitespace. Anyway, it seems when I edit my docpad.coffee file in Sublime Text, I'm fine.
Nevermind, that's not the case. Hmmmm...this is really weird, I can't figure out why sometimes it wants to compile correctly and other times it doesn't.
Check for tabs in your code. You may try to use auto Reformat Code and re-indent manually if needed.
Exactly same problem here using Brackets 1.3 on Windows. Using Notepad++ everything is just fine.
It seems whenever I try to edit the docpad.coffee file to add another helper, I get an error when issuing docpad run. The new helper function is below getPreparedKeywords, called contentTrim. I do not call contentTrim in any of my templates yet. Here's my updated docpad.cofeee file: