Fix archive.ejs error when `hexo generate`

- Fix the error mentioned in title.
- Manually apply some latest commits in hexo-theme-light.