Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
fixup! These could both potentially be none
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhowbrook committed Jan 4, 2024
1 parent d60c792 commit 24fe611
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ <h1 class="title-block__heading title-block__heading--course">
{{ page.strapline|richtext }}
</h1>
<div class="title-block__course-detail">
{% if page.sessions %}
<p class="title-block__sessions">
{{ page.sessions }}
{% if page.cost and page.sessions %} <span aria-hidden="true"></span> {% endif %} {{ page.cost }}
</p>
{% endif %}
<p class="title-block__sessions">
{% if page.sessions %}{{ page.sessions }}{% endif %}
{% if page.cost and page.sessions %} <span aria-hidden="true"></span> {% endif %}
{% if page.cost %}{{ page.cost }}{% endif %}
</p>

<div class="title-block__intro">{{ page.intro|richtext }}</div>
<a class="title-block__link" href="{{ page.header_link }}">
Expand Down

0 comments on commit 24fe611

Please sign in to comment.