Have found a solution. The issue was in Layout which prevents from code-editing, so I have need to edit code through codeblock in layout. Thanks everyone.
I have noticed, that when I am moving the page to draft – it displays what I need, but when I am publishing it – then it still displays old, unedited page without changes.