IndivisibleTemplate / BasicTemplate

The basic Indivisible Template Beta. By Sahadeva Hammari.
http://IndivisibleTemplate.com/
GNU General Public License v3.0
7 stars 80 forks source link

Representative's info not showing up in footer #16

Closed sahadeva closed 7 years ago

sahadeva commented 7 years ago

See footer here: http://indivisiblecolusa.com/

Correctly showing up: https://github.com/colusa/colusa.github.io/blob/master/_representatives/sen-dianne-feinstein.markdown

Phone numbers not showing up: https://github.com/colusa/colusa.github.io/blob/master/_representatives/congressman-john-garamendi.markdown

annakrasner commented 7 years ago

@sahadeva i reproed this bug on my local branch by converting phone-numbers to a Simple and adding one phone number, then re-converting the ENTRY to an object to add the keys as for otehr senators. It seems to be some bug in site-leaf where phone-numbers type is not an object after this. From Colusa's history, it seems something like this happened for them as well.

To fix it, I clicked on the (...) on the phone numbers title field and converted it to an object, then re-added the numbers. That fixed it locally. Mabye try suggesting it to them?

image

Will look further into it when i have time

annakrasner commented 7 years ago

for myself: {% if var.first %} // var is not a string {% else %} // var is a string {% endif %}

sahadeva commented 7 years ago

@annakrasner I did suggest to them and it seems to have worked. thank you! Should I forward to Siteleaf folks as a bug?