Blog: custom title for blogs to fix SEO title too long issues
The problem. SEO tools flag blog posts with titles that are too long and sometimes you need your H1 headers to have that exact text on them.
Well a work around is to use the title on the settings as the title of the page and use a custom property to show in the H1 only for the blogs that need fixing.
First set the a variable and export it to the blog context
{% text "blog_display_title" label='Replace H1 content', export_to_template_context = True %}
Then in the body of the blog post template check if that value was set and then replace it or use the page title as your H1