add post about design pattern, fix bug in pagination of index.html