It should look like the following:
{% if page.categories == 'some-name' %}
Hei I am in some-name category
{% else %}
No I am not in some-name category
{% endif %}
2.
No, {{ }} and {% %}
are not the same. {{ }}
is used for echoing stuff, while {% %}
is used for logic expressions and arguments.