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

Update Past Events Automatically #138

Open
TheFlash98 opened this issue Sep 4, 2017 · 2 comments
Open

Update Past Events Automatically #138

TheFlash98 opened this issue Sep 4, 2017 · 2 comments
Labels

Comments

@TheFlash98
Copy link
Member

Under the past events section, there are just events right now which are simply hard coded. This should be updated automatically to the last two events added to the list of events on the website.

@tezansahu
Copy link
Member

I want to take up this issue. Pls let me know the details

@ydidwania
Copy link
Collaborator

ydidwania commented Oct 10, 2017

Hi @tezansahu . Thanks for your interest in contrbuting to WnCC.
The solution would be to modify index.html as below -

  1. Iterate over all the files in events/
  2. Select the last two events depending on date tag
  3. Display the events appropriately.

You may look up events.md for reference. A similar approach has been followed there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants