Attempt to append Paginator data in Site Title breaks the Paginator

It is a tall order expecting anyone to read your long post with those copy and paste snippets and expect anyone to understand what is going on.

I have no clue what you mean by “breaks the paginator” etc.

I think you need to post a link to the full failing source, and someone might have a look at it.

But I would suggest creating something simpler. Simpler is almost always the best. Easier to understand, too.