Skip to content

Commit b4e27ec

Browse files
committed
Tweaks to scripts and templates
1 parent d22dc19 commit b4e27ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_layouts/presentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1>{{ page.title }}</h1>
3535

3636
{% if page.learning-outcomes or page.attendee-requirements %}
3737
<hr/>
38-
{% if page.learning-outcomes %}
38+
{% if page.learning-outcomes != "" %}
3939
<p><span class="font-weight-bold">Learning Objectives:</span> {{ page.learning-outcomes }}</p>
4040
{% endif %}
4141

_scripts/workshops.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def parameterize(string, separator: "-")
2525
outcomes = row["outcomes"]
2626
requirements = row["requirements"]
2727
max = row["max"]
28-
time = row["time"]
28+
time = row["time"].downcase
2929
speaker1 = row["speaker1"]
3030
speaker2 = row["speaker2"] || ""
3131
speaker3 = speaker2.empty? ? speaker1 : "#{speaker1}, #{speaker2}"

0 commit comments

Comments
 (0)