SEO work and resources page
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
- title _'page.Organizations'
|
||||
- description 'Bike!Bike! list of DIY bicycle collectives, co-ops, coops, community bike projects, advocacy by country, state, provice, and city'
|
||||
- banner_image '/assets/orgs.jpg'
|
||||
- page_style :list
|
||||
- content_for :banner do
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
- territory = Carmen::Country.coded(@organization.locations[0].country).subregions.coded(@organization.locations[0].territory)
|
||||
- location_name = @organization.locations[0].city + (territory ? ' ' + territory.name : '') + ', ' + Carmen::Country.coded(@organization.locations[0].country).name
|
||||
|
||||
- title @organization.name + ' (' + location_name + ')'
|
||||
- description "#{@organization.name} is a bicycle collective, co-op, community bike project, or advocacy group in #{location_name}"
|
||||
- banner_image @organization.cover_url, id: @organization.cover_attribution_id, name: @organization.cover_attribution_name, user_id: @organization.cover_attribution_user_id, src: @organization.cover_attribution_src
|
||||
- page_style 'article'
|
||||
- content_for :banner do
|
||||
@@ -8,7 +13,7 @@
|
||||
.columns.info{:class => (@organization.avatar.is_landscape? ? nil : ['medium-6', 'medium-pull-6'])}
|
||||
%h1=@organization.name
|
||||
- territory = Carmen::Country.coded(@organization.locations[0].country).subregions.coded(@organization.locations[0].territory)
|
||||
%h2=@organization.locations[0].city + (territory ? ' ' + territory.name : '') + ', ' + Carmen::Country.coded(@organization.locations[0].country).name
|
||||
%h2=location_name
|
||||
|
||||
%p#notice= notice
|
||||
|
||||
|
||||
Reference in New Issue
Block a user