New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working (Failing) with Jekyll #41
Comments
Hey @ChrisSki, sorry you're having issues. There isn't any reason why Jekyll would conflict with something like Instafeed.js. Can you give me a little more detail as to what the issue is? Do you have a link to a demo or can you paste some of your configurations here so I can take a look at them? |
Hey @stevenschobert, thanks for the fast response! I launched it to http://chrissciolla.com for the time being so you can see it in action. Thanks for the help. I'm sure it's something I'm overlooking, but I've spent a bunch of time on it and I'm just not seeing it. |
Looks like you have your You need to use the template tags var userFeed = new Instafeed({
// other settings
template: '<li><img src="{{image}}" alt="{{caption}}"/></li>'
});
userFeed.run(); |
@stevenschobert I'm currently using the |
Most likely, Jekyll is attempting to parse If you need to output the literal curly braces, you should do something like this:
For more info, take a look at this thread on Stack Overflow. |
Worked perfectly. Thanks for helping out with this. I definitely overlooked that liquid would have tried to render them. |
Awesome! Glad I could help. Let me know if you have any other issues. |
Follow this tutorial. Should work the same as it did for me. http://chrissciolla.com/tech/jekyll-instafeedjs-tutorial.html On Saturday, November 16, 2013, HandHugs wrote:
Best, Chris Sciolla // Towni Localistics: www.towni.us |
Hey guys, Had the same problem but was using Twig. With twig, you just need to wrap the template string in a verbatim block: http://twig.sensiolabs.org/doc/tags/verbatim.html
This used to be called the raw tag prior to Twig 1.12 . Hope this helps someone! |
Hi @maxatbrs , I´ve used your suggestion about verbatim and Twig and got it working. Thank You very much. |
I've done a lot of searching and can't seem to find a solution. I am currently using Jekyll for my blog and I can not seem to get Instafeed to render my images. I have tested the same code I have in a plain html page and it renders my images fine, so I have to assume it's failing because of Jekyll. I don't have any other plugins or anything strange working with Jekyll. I'm using a template with Instafeed and in my source code is show's my image tag rendered like this: . If anyone can direct me to a solution, I'd love to find one.
The text was updated successfully, but these errors were encountered: