Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add past events page. #38

Open
kpearson opened this issue Sep 13, 2016 · 0 comments
Open

Add past events page. #38

kpearson opened this issue Sep 13, 2016 · 0 comments

Comments

@kpearson
Copy link
Contributor

kpearson commented Sep 13, 2016

Create a page which only has past events.
Link to it from the bottom of events section on the homepage.

Once we support past events on the site, we will need a filter for the upcoming events page to exclude past events.

The code for the past filter will look something link:

{% for event in site.events %}
  {% if event.date >=  site.time %}
    // event html 
  {% endif %}
{% endfor %}
@kpearson kpearson changed the title Add page with past events. Add past events page. Sep 13, 2016
@kpearson kpearson self-assigned this Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants