Skip to main content

Events

You can add events to a markdown file using the following shortcodes: {{< events >}} or {{< events_table >}}

To add events, create a events.yml file in the data folder and add the code bellow:

title: Events
tagline: Come meet the Eclipse Community at these upcoming events!

#buttons
more_button_text: View More Events <i class="fa fa-arrow-down"></i>
submit_button_text: Submit Event
submit_button_link: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=

items:
  -
    name: Example Event 1
    location: Location, Location
    date: Month xx, xxxx
    expire_date: 2030-03-28T23:59:00-00:00
    button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
    button_text: Button text
  -
    name: Example Event 2
    location: Location, Location
    date: Month xx, xxxx
    expire_date: 2030-03-28T23:59:00-00:00
    button_url: https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D=
    button_text: Button text

Examples:

Here is an example of the events in a block view:

Events

Come meet the Eclipse Community at these upcoming events!

Example Event 1

Location, Location

Month xx, xxxx

Button text

Example Event 2

Location, Location

Month xx, xxxx

Button text

Example Event 1

Location, Location

Month xx, xxxx

Button text

Example Event 2

Location, Location

Month xx, xxxx

Button text


Here is an example of the events in a table view:

ConferenceLocationDate
Example Event 1Location, LocationMonth xx, xxxxButton text
Example Event 2Location, LocationMonth xx, xxxxButton text
Example Event 1Location, LocationMonth xx, xxxxButton text
Example Event 2Location, LocationMonth xx, xxxxButton text
Example Event 1Location, LocationMonth xx, xxxxButton text
Example Event 2Location, LocationMonth xx, xxxx

Back to the top