I used to accomplish this with something like this:
{% if topic %}
{% set string_to_split = content.title %}
{% set newArray = string_to_split|split('|', 2) %}
{% for item in newArray %}
{% if loop.last %}
<h2 style="text-align: center;">{{ item }}</h2>
{% endif %}
{% endfor %}
{% endif %}
So basically pull the page title which should be auto-generated based on the topic. And then turn it into an array and get the latter part of the array, which is the text of the topic name.
Let me know if that helps with what you're trying to do?