Incompatibility with GitHub pages - case sensitive variables
Pretzel is not case sensitive when it comes to variables. However GitHub pages is. This means that sites that work locally do not work when pushed to GitHub.
https://twitter.com/DavidBurela/status/653163439221686272
Thanks for reporting :smiley: By variables you mean liquid variables? If yes it depends on DotLiquid which seems quite abandoned. If no can you provide a sample for reproducing the issue?
I'm assuming it is liquid variables. Using them within a post i.e. http://jekyllrb.com/docs/variables/
On 3 December 2015 at 16:30, Jérémie Bertrand [email protected] wrote:
Thanks for reporting [image: :smiley:] By variables you mean liquid variables? If yes it depends on DotLiquid which seems quite abandoned. If no can you provide a sample for reproducing the issue?
— Reply to this email directly or view it on GitHub https://github.com/Code52/pretzel/issues/281#issuecomment-161549793.
It is liquid variables, we can do nothing about that, sorry.
After some time of thinking, a custom ISiteEngine inherited from LiquidEngine could do the trick:
in the RenderTemplate method you could check the templateContents and see if there are the requested variable in the pageData.