Table of Contents

Event Liquid Drop

The drop represents an event happening at one of a restaurant's locations. Events can be accessed from any template or page by calling the events collection.

Events can be tagged in SandwichBoard with keywords. To limit the collection to a specific tag, simply suffix events with _by_keyword.

Example

{% for event in events_by_holiday %}
  ...
{% endfor %}

An event drop has the following properties.

name

Returns the name for this event. If this event has a non-blank link property set, it returns the name wrapped in a hyperlink to the link URL. Otherwise it returns the name in plain text.

event.name_without_link

Returns the title for this article in plain text.

event.location

Returns the name of the location where this event is happening.

event.date

Returns the date this event is happening.

event.time

Returns the time this event is happening.

event.description

Returns the details of this event.

event.link

Returns the URL for this event, if set.