fix issue #54

- nm_site() deprecated
- use hook 'index-pretemplate' instead of 'content' filter