Load index via template
Fix issue #12