Force Template Generation with .tpl

You can now add .tpl to the end of your files (say pages/feed.json.tpl) to force that file to generate using our templating language.

Dave Snider. March 01 2016.

Long time no talk. We recently pushed a small feature to Webhook that allows you to append .tpl to any file (say /pages/feed.json.tpl) in your pages or templates directory to build that file using our templating system. This is useful for text, XML or JSON files that you need to custom build against data in the CMS.

Although Webhook doesn't get much in the way of updates these days (it's pretty cool as is) we added it because it's a feature we needed ourselves. If you have features you need, feel free to send in a Pull Request and we'll take a look.

Enjoy our posts? We post updates on Twitter and RSS. Or sign up below to our newsletter.