Skip to content

Commit 49a3099

Browse files
committed
fix: combine captioning data in conf.yml
this also slightly alters the accessibility page markup to always state that we will have captioning but conditionally show the service name and URL. Closes #89
1 parent fa29249 commit 49a3099

2 files changed

Lines changed: 15 additions & 17 deletions

File tree

_data/conf.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ slides:
162162
email: ''
163163

164164
closed-captioning:
165+
# display on home page and general-info/accessibility
166+
show: true
167+
# name of captioning company, URL is above under closed-captioning.url
168+
service: Streambox
165169
url: https://2020archive.1capapp.com/event/code4lib/
166170

167171
workshops:
@@ -461,12 +465,6 @@ diversity-scholarship-sponsors:
461465
################
462466
# Other
463467
################
464-
465-
live-captioning:
466-
show: true
467-
# name of captioning company, URL is above under closed-captioning.url
468-
service: Streambox
469-
470468
quiet-room:
471469
show: true
472470
# Room number(s)

general-info/accessibility.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ <h1>Accessibility</h1>
2929
<h2 id="contactus">Accommodation Requests or Questions</h2>
3030
<p>Contact <a href="mailto:{{site.data.conf.accessibility-email}}">{{site.data.conf.accessibility-email}}</a> with any questions, concerns, or accommodation requests related to the conference.</p>
3131

32-
{% if site.data.conf.live-captioning.show %}
33-
<h2 id="captioning">Live Captioning</h2>
34-
<p>
35-
During the general conference, Code4Lib {{site.data.conf.year}} will feature live captioning by {{site.data.conf.live-captioning.service}}. In order to improve the quality of this service, we ask everyone to speak slowly and clearly so the captioning service is able to accurately capture what you say. Any prerecorded sessions or talks will also be live captioned.
36-
{% if site.data.conf.live-captioning.show %}
37-
Attendees, both local and remote, may view the text stream at:
38-
<a href="{{site.data.conf.closed-captioning.url}}">{{site.data.conf.closed-captioning.url}}</a>.
39-
{% endif %}
40-
These transcriptions will be applied to the captioning on the YouTube archive soon after the completion of the conference.
41-
</p>
42-
{% endif %}
32+
<h2 id="captioning">Live Captioning</h2>
33+
<p>
34+
During the general conference, Code4Lib {{site.data.conf.year}} will feature live captioning{% if site.data.conf.closed-captioning.service %} by {{site.data.conf.closed-captioning.service}}{% endif %}. In order to improve the quality of this service, we ask everyone to speak slowly and clearly so the captioning service is able to accurately capture what you say. Any prerecorded sessions or talks will also be live captioned.
35+
{% if site.data.conf.closed-captioning.show %}
36+
Attendees, both local and remote, may view the text stream at:
37+
<a href="{{site.data.conf.closed-captioning.url}}">{{site.data.conf.closed-captioning.url}}</a>
38+
{% endif %}
39+
</p>
40+
<p>
41+
These transcriptions will be applied to the captioning on the YouTube archive soon after the completion of the conference.
42+
</p>
4343

4444
{% if site.data.conf.quiet-room.show %}
4545
<h2 id="quietroom">Quiet Room</h2>

0 commit comments

Comments
 (0)