error and warning styling

Improve error styling, add a warning template.
Change both to be accessible as functions, de-
fined in one central file in `partials/`.
update usage of error partial
item comparison: change error to warning
change error behaviour

Instead of displaying the general error page,
display in-page error if item can't be read.