-
Notifications
You must be signed in to change notification settings - Fork 16
/
show.html.haml
18 lines (17 loc) · 979 Bytes
/
show.html.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- content_for :title do
#{@city.name} | Tea With Strangers
- content_for :description do
Tea With Strangers is all about making meaningful interactions more fun. Meet some strangers in #{@city.name}!
- content_for :head do
%meta{:property => "og:type", :content => "website"}
%meta{:property => "og:title", :content => "Tea With Strangers in #{@city.name}"}
%meta{:property => "og:image", :content => "#{@city.header_bg.url}"}
%meta{:property => "og:description", :content => "Tea With Strangers is all about making meaningful interactions more fun. Meet some strangers in #{@city.name}!"}
= render partial: 'shared/city_banner'
.container
.city-flash.notice
These old style city pages will be updated to the new style soon!
.container{:class => "#{@city.city_code}"}
= render partial: 'shared/nav_header'
= @city.hosts.empty? ? render(partial: 'city_no_hosts') : render(partial: 'city_has_hosts')
=content_for(:footer) { render partial: 'shared/footer' }