Download Latest Version You can now compile to PHP! source code.tar.gz (1.2 MB)
Email in envelope

Get an email when there's a new version of Jekyll-Pug

Home / 1.5.3
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2017-12-07 324 Bytes
You can now compile to PHP! source code.tar.gz 2017-12-07 1.2 MB
You can now compile to PHP! source code.zip 2017-12-07 1.2 MB
Totals: 3 Items   2.4 MB 0

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:

:::yaml
jekyll-pug:
  php: true

Enjoy!

Source: README.md, updated 2017-12-07