Add suffix to page title

Highlighted
Top Contributor

Hi

 

Is there a way I can add a suffix to all page titles?

 

Something like:

{% set page_meta.html_title = page_meta.html_title  ~ ' | ' + site_settings.company_name %}

Thanks

Reply
0 Upvotes
1 Reply 1
Regular Contributor

Are you doing this in a coded template?

 

Or a drag and drop template?

 

If it is drag and drop I would use Javascript. It is a perfectly accepted by google as Google reads JS now a days.

 

if it is coded then you can do so with Hubl