Rename index-posts -> index-content.
Update templates to match posts->content.
Factor purge-all calls in discover to a before method.