feat: Shows events as cards on the home page
Replaces the line of links to previous events with cards after the 40C3 start page: each card has the event's logo (designs.events.ccc.de) in its heading bar, the motto, full name, dates and venue. 40C3 is greyed out as in progress; the other cards link to their tours. The cards reuse the theme's own colours -- the link colour for the motto and the heading and text colours for the rest -- on the hairline border and 0.25rem corners of the start page's cards. The logo credits that a licence asks for are shown in the page footer. The events shortcode reads data/events.yaml; the README documents it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
75a8d446e4
commit
213e58256f
2 changed files with 393 additions and 2 deletions
|
|
@ -9,3 +9,8 @@ gallery_dialog: "Bildansicht"
|
|||
gallery_close: "Schließen"
|
||||
gallery_previous: "Vorheriges Bild"
|
||||
gallery_next: "Nächstes Bild"
|
||||
events_inprogress: "In Vorbereitung"
|
||||
events_logo: "Logo {{ .Name }}"
|
||||
events_date: "2. January 2006"
|
||||
events_date_day_month: "2. January"
|
||||
events_date_day: "2."
|
||||
|
|
|
|||
|
|
@ -9,3 +9,8 @@ gallery_dialog: "Image viewer"
|
|||
gallery_close: "Close"
|
||||
gallery_previous: "Previous image"
|
||||
gallery_next: "Next image"
|
||||
events_inprogress: "In progress"
|
||||
events_logo: "{{ .Name }} logo"
|
||||
events_date: "2 January 2006"
|
||||
events_date_day_month: "2 January"
|
||||
events_date_day: "2"
|
||||
|
|
|
|||
Loading…
Reference in a new issue