Restrict paper number to 3 in index.html, share templates