Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Incompatibility with GitHub pages - case sensitive variables #281

Open
DavidBurela opened this issue Dec 3, 2015 · 4 comments
Open

Incompatibility with GitHub pages - case sensitive variables #281

DavidBurela opened this issue Dec 3, 2015 · 4 comments

Comments

@DavidBurela
Copy link

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

@laedit
Copy link
Member

laedit commented Dec 3, 2015

Thanks for reporting 😃
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?

@DavidBurela
Copy link
Author

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 notifications@github.com
wrote:

Thanks for reporting [image: 😃]
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
#281 (comment).

@laedit
Copy link
Member

laedit commented Dec 3, 2015

It is liquid variables, we can do nothing about that, sorry.

@laedit
Copy link
Member

laedit commented Dec 28, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants