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

Already on GitHub? Sign in to your account

index.jade error #14

Closed
FashGek opened this Issue Jan 31, 2014 · 1 comment

Comments

Projects
None yet
2 participants

FashGek commented Jan 31, 2014

/mnt/disk1/sydjs-site/templates/views/site/index.jade:17
15| .container
16| h5= (lastMeetup) ? 'Our last meetup:' : 'Our next meetup:'

17| div(data-ks-editable=editable(user, { list: 'Meetup', id: nextMeetup.id }))
18| h1= nextMeetup.name
19| .row
20| .col-sm-8

Cannot read property 'id' of null

@JedWatson JedWatson closed this in e232e96 Feb 1, 2014

Owner

JedWatson commented Feb 1, 2014

Hey @FashGek,

You're seeing the problem described at the bottom the read me, where the site would error if there were no meet ups in the database.

To make it easier to get started, I've cleaned up the templates and they behave much more nicely if there is no data, and has some instructions on what to do on the homepage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment