Skip to content

You can now compile to PHP!

Latest
Compare
Choose a tag to compare
@DougBeney DougBeney released this 07 Dec 19:22
· 23 commits to master since this release

So, I was restructuring a Wordpress theme to use Pug and Jekyll in development and ran into a problem: Jekyll Pug <=1.5.2 only compiles .html files.

Luckily, this was an easy fix.

If you'd like to compile to PHP, simply add the following to your _config.yml:

jekyll-pug:
  php: true

Enjoy!