Skip to content

Commit cb5f258

Browse files
committed
Display hotel info, even if there's only one. And typo fix
1 parent 0c1b016 commit cb5f258

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

_data/conf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ venue:
107107
postal-code: 19106
108108
phone: 215-238-6000
109109
website: https://www.marriott.com/en-us/hotels/phlmo-philadelphia-marriott-old-city/overview/
110-
warning: Please see your confirmation email.
110+
warning: Please registration link in your confirmation email.
111111

112112

113113
################

general-info/lodging-transportation.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,24 @@ <h2 id="lodging">Lodging</h2>
6060
The conference Local Planning Committee has put together <a href="{{ site.data.conf.venue.hotel.multiple-hotels-map }}">a Google Map</a> with pins to help you find lodging in the area around the {{ site.data.conf.venue.name }} building, site of the main conference.
6161
</p>
6262
{% endif %}
63+
{% else %}
64+
{% if site.data.conf.venue.hotel.hotel-options[0].name %}
65+
<p>{{ site.data.conf.venue.hotel.note }}</p>
66+
{%- comment -%} Show info for first hotel, if present {%- endcomment -%}
67+
{% for hotel in site.data.conf.venue.hotel.hotel-options %}
68+
<section class="col-md-8">
69+
<p>
70+
<strong class="font-bold">{{hotel.name}}</strong><br/>
71+
{{hotel.street}}<br/>
72+
{{hotel.city-state}} {{hotel.postal-coe}}<br/>
73+
<a href="tel:{{hotel.phone}}">{{hotel.phone}}</a><br/>
74+
<a href="{{hotel.website}}">{{hotel.website}}</a><br/>
75+
{% if hotel.notes %}{{hotel.notes}}<br/>{% endif %}
76+
{% if hotel.warning %}<b>{{hotel.warning}}</b>{% endif %}
77+
</p>
78+
</section>
79+
{% endfor %}
80+
{% endif %}
6381
{% endif %}
6482

6583
<h2 id="transportation">Transportation</h2>
@@ -72,7 +90,7 @@ <h4>Public Transport</h4>
7290
<p>Trains depart every 30 mins from the airport towards Center City. However, this
7391
line does not go directly to the hotel, so you will need to transfer (including
7492
additional fare) to the Market-Frankford Line (MFL) at the Market &amp; 11th
75-
(Jefferson) Station. Take th MFL eastbound towards Frankford to 2nd Street
93+
(Jefferson) Station. Take the MFL eastbound towards Frankford to 2nd Street
7694
Station. The hotel is a two block walk from 2nd St Station.</p>
7795

7896
<h4>Taxis</h4>

0 commit comments

Comments
 (0)