Skip to content

Updating events page format#1039

Draft
ubdbra001 wants to merge 1 commit into
New_websitefrom
i989-events-page
Draft

Updating events page format#1039
ubdbra001 wants to merge 1 commit into
New_websitefrom
i989-events-page

Conversation

@ubdbra001

@ubdbra001 ubdbra001 commented Jun 4, 2026

Copy link
Copy Markdown
Member

closes #989

Adds collapsible sections split by year - currently very rough

@ubdbra001 ubdbra001 linked an issue Jun 4, 2026 that may be closed by this pull request
@ubdbra001 ubdbra001 mentioned this pull request Jun 4, 2026
{% if category == event.category %}
{% include events_list_item.html event=event %}
{% endif %}
{% if events_by_year and events_by_year.size > 0 %}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can understand what is going on here but what I'm ignorant of is the language/framework that is being used. Is this embedded JavaScript within the {% ... %} or something else?

Feels like its useful stuff I could do with learning about.

@ubdbra001 ubdbra001 Jun 5, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The site is built using Jekyll, and that uses the Liquid templating language to process the templates. I think both are based on Ruby.

It's roughly equivalent to Jinja2 used by some of the Python static site generators (e.g. Flask, Pelican), if you've come across that before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RSE Sheffield events

2 participants