summaryrefslogtreecommitdiff
path: root/templates/events.html
diff options
context:
space:
mode:
authorVanja Cosic <1070957+vanjacosic@users.noreply.github.com>2023-10-27 14:58:01 +0200
committerVanja Cosic <1070957+vanjacosic@users.noreply.github.com>2023-10-27 14:58:01 +0200
commite028ac38509a954a7d8808962dd57d400142ef64 (patch)
tree64014b887307d9de19ba75b8cb4cd481934c3a74 /templates/events.html
parent3e5ee8db4a1a2344118fcf78840151210325cd9f (diff)
downloadcph-rust-website-e028ac38509a954a7d8808962dd57d400142ef64.zip
Clean up event styles
Diffstat (limited to 'templates/events.html')
-rw-r--r--templates/events.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/events.html b/templates/events.html
index 2ee2e6b..6a34d22 100644
--- a/templates/events.html
+++ b/templates/events.html
@@ -47,14 +47,15 @@
</a>
{% else %}
<article>
- <details>
+ <details {% if group == 'upcoming' %}open{% endif %}>
<summary>
<h3>
{{ event.title }}
</h3>
</summary>
-
- {{ macros::event_attributes(event=event) }}
+ <div>
+ {{ macros::event_attributes(event=event) }}
+ </div>
</details>
</article>
{% endif %}