You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
regarding point number 2 on ethnocentricity, I personally see nothing wrong with going either by number of openhacks per country or alphabetizing by country. Either way has a logical reason behind it and therefore no need for anyone to feel that some one's not on equal footing. It's just numbers and/or letters.
---
countries:
USA:
- atlanta:
name: Atlanta, GA
- buffalo:
name: Atlanta, GACanada:
- waterloo:
name: Waterloo, ON
- toronto:
name: Toronto, ON
Looping through it is dumb, but works:
{% for country in site.countries %}
{{ country.first }}
{% for city in country.last %}
{{ city.first.first }}
{{ city.first.last.name }}
{% endfor %}
{% endfor %}
Activity
aquaranto commentedon Feb 4, 2013
Or maybe have expandable sections for each country?
qrush commentedon Feb 4, 2013
Sure, either works. @jameschildress what say you?
jahio commentedon Feb 4, 2013
I like the expandable sections by country option myself, but either is a good move in my opinion. So +1
justinxreese commentedon Feb 4, 2013
I don't like the sound of the expanding menu because the bulk of the cities are in the US and will therefor require an extra click.
I'd support a nested menu though. Same idea with no clicks.
anoldguy commentedon Feb 4, 2013
Thoughts...
What would a nested menu look like? Do you have a mockup?
justinxreese commentedon Feb 4, 2013
@anoldguy Just a really simple mockup here in the comments section, because either way the actual look of this is still to be determined.
The countries are the top level sorted by number of cities inside or alphabetically.
US
Canada
China
jahio commentedon Feb 4, 2013
regarding point number 2 on ethnocentricity, I personally see nothing wrong with going either by number of openhacks per country or alphabetizing by country. Either way has a logical reason behind it and therefore no need for anyone to feel that some one's not on equal footing. It's just numbers and/or letters.
qrush commentedon Feb 6, 2013
So we can use this data structure in
_config.yml:Looping through it is dumb, but works:
anoldguy commentedon Feb 6, 2013
Looks like a good 80/20, and fixes the issue we have. If you don't tackle it, I'll try to get to it tomorrow.