updated example to use yaml, made some layout tweaks
added pagination template