Category name in page title
You don't have to fill in the quote's or the curly brackets.

You could just put it down like this:

{% set title = category.title %}


You already "called" twig so you dont need to do that again.