Fixed bug

You can now have a page with only index.md and index.md will be marked
as is_last = 1