add global lastmod for "Last modified time"

- simply add last modified time
- update: add snippets: header, main & footer