Optimise SQL for showing entries
Get next and previous documents with one SQL query each
Use the common template for the tag detail page.
Express tag index as a cloud.
Allow tags to be edited