templates ignore_errors

now you can use a variable for ignore_errors, this fixes #4892