Harpjs v0.10.0 update

Nov 19, 2013

After HarpJs v0.10.0 was released a few days ago, some small changes were needed to keep my site working nicely. Here are the few points I had to work on :

  • public.posts.data to public.posts._data
  • added a missing dot "." to the script tag in ga.jade. I got a warning in my console when running harp server :
    /PATH/public/_partials/ga.jade, line 3:
    Implicit textOnly for `script` and `style` is deprecated.  Use `script.` or `style.` instead.
  • finally fixed parse errors in public/_partials/aside.jade, public/_partials/addthis.jade and public/_partials/disqus.jade which were not giving any error before the version update.

You can check all this on github. The newest version fo the Jade parser is stricter and it is better like that!

The biggest problem I had was related to the sitemap generation which was giving me a fatal error and would not compile, but the guys at harpjs.com are so nice to its community that no longer than 35 min after I got pointed to the fix : @kennethormandy thank you! :)

Here is the commit for fixing that issue.

comments powered by Disqus