Skip to content

Commit

Permalink
List all online worship (#1101)
Browse files Browse the repository at this point in the history
  • Loading branch information
brylie authored Jul 13, 2024
1 parent 938cef9 commit 81f14f1
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions contact/templates/contact/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,15 @@ <h2>Worship time(s)</h2>
{% if page.online_worship.count %}
<strong>Online worship:</strong>

{% with page.online_worship.all|first as online_worship %}
<a href="{% pageurl online_worship %}">
{{ online_worship.title }}
</a>
{% endwith %}
<ul>
{% for online_worship in page.online_worship.all %}
<li>
<a href="{% pageurl online_worship %}">
{{ online_worship.title }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}

{% if page.presiding_clerks.count %}
Expand Down

0 comments on commit 81f14f1

Please sign in to comment.