Closed XhmikosR closed 6 years ago
I tried the same for Bootstrap (https://github.com/twbs/bootstrap/compare/v4-dev...v4-dev-docs), and I get the same results. Something seems weird @benbalter :/
Can you try it without the extra braces?
{% avatar member.user size=32 %}
Also try {% avatar user=member.user size=32 %}
Thanks both of you for the replies. I'll try it when I'm at home. BTW this was taken from the Readme example. On Feb 27, 2016 20:20, "Ben Balter" notifications@github.com wrote:
Also try {% avatar user=member.user size=32 %}
— Reply to this email directly or view it on GitHub https://github.com/benbalter/jekyll-avatar/issues/7#issuecomment-189698710 .
I tried both solutions, none of them works.
One last try:
{% assign user = member.user %}
{% avatar {{ user }} %}
or
{% assign user = member.user %}
{% avatar user=user %}
It's a quirk with our Liquid passes context to plugins.
The last one works!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
So, I was trying to get this working, but I end up with the same image from the first loop item.
Code fragment
Output:![screen shot 2016-02-27 at 13 12 03](https://cloud.githubusercontent.com/assets/349621/13372635/2b94b54e-dd54-11e5-913c-af46186d0764.png)
Full code https://github.com/mpc-hc/mpc-hc.org/tree/about
Am I missing something?