Skip to content

Commit

Permalink
Merge pull request #2508 from matrix-org/MTRNord/more-banners
Browse files Browse the repository at this point in the history
Add watch-recordings state
  • Loading branch information
MTRNord authored Sep 26, 2024
2 parents 029683d + 07ac116 commit 9e59e45
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ skip_anchor_prefixes = [
[extra]
banner = false

# Possible states: "cfp", "awaiting_schedule", "scheduled", "no_tickets", "live", "none"
# Possible states: "cfp", "awaiting_schedule", "scheduled", "no_tickets", "live", "watch-recordings", "none"
# None is used when elections instead are used
conference_state = "none"

Expand All @@ -48,4 +48,5 @@ conference_dates = "Sep 19-22"
conference_location = "Berlin, Germany"

governence_board_elections = false
governence_board_elections_page = "/governing-board/elections/2024"
governence_board_elections_page = "/governing-board/elections/2024"

7 changes: 6 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
<p><a href="{{ config.extra.conference_website }}">The Matrix Conference</a> is Live.
<a href="{{ config.extra.conference_website }}/watch/">Check the livestreams</a>!
</p>
{% elif config.extra.conference_state == "watch-recordings" %}
<p><a href="{{ config.extra.conference_website }}">The Matrix Conference</a> is over and the recordings are here!.
<a href="{{ config.extra.conference_website }}/watch/">Check out the recordings</a>!
</p>
{% endif %}
{% if config.extra.governence_board_elections %}
<p>We are holding our Governing Board elections. Find all the information <a
Expand Down Expand Up @@ -106,4 +110,5 @@ <h2>Build on Matrix</h2>
</div>
</div>
</div>
{% endblock content %}
{% endblock content %}

0 comments on commit 9e59e45

Please sign in to comment.