Skip to content

Commit

Permalink
Merge pull request #55 from code4lib/fix-socials-00
Browse files Browse the repository at this point in the history
Fix datetime for tours, move to appropriate location on schedule
  • Loading branch information
triplingual authored Apr 2, 2024
2 parents 6df9ef7 + 5719d16 commit f3c24f9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
3 changes: 2 additions & 1 deletion _data/conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ reception:

tours:
show: true
time: '5/13/24 at 11am'
date: '2024-05-13'
time: '11:00am'
sign-up-url: 'https://docs.google.com/spreadsheets/d/1yiemUqbKwkZbAhgn-cQnugB9cjbHlVfQl03DTAzi4i8/edit'
sign-up-button-text: 'Sign Up'
tours:
Expand Down
42 changes: 21 additions & 21 deletions schedule/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,27 @@ <h2>{{site.data.conf.days[1].weekday}}, {{site.data.conf.days[1].date}}</h2>
</div>
</div>

{% if site.data.conf.tours.show %}
<div class="row">
<div class="col-12 col-md-3 text-right">
<h3>{{ site.data.conf.tours.time }}
<br/><div class="timezone">{{ site.data.conf.timezone }} Time</div>
</h3>
</div>
<div class="col-12 col-md-9 sched-well">
<h4>Tours</h4>
<p>
See the <a href="/general-info/social/#tours">Social Activities</a> page for more details.
</p>
{% if site.data.conf.tours.sign-up-url %}
<p>
<a class="btn ct-btn-light" href="{{ site.data.conf.tours.sign-up-url }}">{{ site.data.conf.tours.sign-up-button-text }}</a>
</p>
{% endif %}
</div>
</div>
{% endif %}

<div class="row">
<div class="col-12 col-md-3 text-right">
<h3>1PM to 5:30PM
Expand Down Expand Up @@ -258,27 +279,6 @@ <h3><a href="/workshops">Workshops</a></h3>
</div>
</div>

{% if site.data.conf.tours.show %}
<div class="row">
<div class="col-12 col-md-3 text-right">
<h3>{{ site.data.conf.tours.time }}
<br/><div class="timezone">{{ site.data.conf.timezone }} Time</div>
</h3>
</div>
<div class="col-12 col-md-9 sched-well">
<h4>Tours</h4>
<p>
See the <a href="/general-info/social/#tours">Social Activities</a> page for more details.
</p>
{% if site.data.conf.tours.sign-up-url %}
<p>
<a class="btn ct-btn-light" href="{{ site.data.conf.tours.sign-up-url }}">{{ site.data.conf.tours.sign-up-button-text }}</a>
</p>
{% endif %}
</div>
</div>
{% endif %}

{% if site.data.conf.trivia-night.show %}
<div class="row">
<div class="col-12 col-md-3 text-right">
Expand Down

0 comments on commit f3c24f9

Please sign in to comment.