Update GodotCon event and optionally display registration and entrance fee fields

This commit is contained in:
Emi
2023-10-30 12:50:19 +01:00
parent fc8575881f
commit 4ceca41d87
4 changed files with 12 additions and 4 deletions

View File

@@ -82,8 +82,15 @@
<ul class="event-details">
<li><strong>Date:</strong> {{ event.dates }}</li>
<li><strong>Location:</strong> {{ event.location | markdownify }}{% unless event.location_map == empty %} (<a href="{{ event.location_map }}">Show on map</a>){% endunless %}</li>
{% if event.entrance_fee %}
<li><strong>Entrance fee:</strong> {{ event.entrance_fee | markdownify }}</li>
{% endif %}
{% if event.registration %}
<li><strong>Registration:</strong> {{ event.registration | markdownify }}</li>
{% endif %}
{% if event.website %}
<li><strong>Website:</strong> <a href="{{ event.website }}">{{ event.website }}</a></li>
{% endif %}
</ul>
</div>

View File

@@ -17,7 +17,6 @@ location_map: "https://www.openstreetmap.org/?mlat=50.94590&mlon=6.98034map%3D16
entrance_fee: "Paid, Pass required"
registration: ""
cover_image: "/storage/blog/gamescom/2023/gamescom-cover.webp"

View File

@@ -3,7 +3,7 @@ name: "GodotCon Munich 2023"
name_short: "GodotCon Munich"
# Dates in human-readable format.
dates: "Sat 4 & Sun 5 November, 10 am - 6 pm both days"
dates: "Sat 4 & Sun 5 November, 10:00 - 18:00 both days"
dates_short: "4 & 5 November"
# The first date of the event in ISO format, used for sorting.
@@ -15,8 +15,7 @@ location: "[Microsoft Germany](https://developer.microsoft.com/en-us/games/), Wa
location_short: "Munich, Germany"
location_map: "https://www.openstreetmap.org/way/428992680"
entrance_fee: "(Coming soon)"
registration: "(Coming soon)"
website: https://conference.godotengine.org
cover_image: "/storage/blog/covers/godotcon-2023.webp"
@@ -24,3 +23,5 @@ cover_image: "/storage/blog/covers/godotcon-2023.webp"
Mark your calendars for **November 4th and 5th**, 2023, as these two days will be packed with talks, Godot games, workshops, and the chance to meet your fellow Godot contributors in person! No matter if you're a beginner or an experienced Godot user, theres something for everyone.
You can join online on our [YouTube channel](https://www.youtube.com/@GodotEngineOfficial) where we will live-stream and upload the recordings of the talks.

View File

@@ -17,6 +17,7 @@ location_map: "<OpenStreetMap location link>"
entrance_fee: "<entrance fee description; supports Markdown>"
registration: "<registration description; supports Markdown>"
website: "<website URL>"
cover_image: "/storage/app/media/events/<image filepath>.jpg"