Added new twig helpers

Changes to improve SLI rank

Added doc for password protected posts
Can you add a PHP doc block please:

```php
    /**
     * {@inheritdoc}
     */
```