How to display blog category in blog category title?

Solved
New Member
4 0 0

Is it possible to have the blog category added in the blog title using liquid?

Screen Shot 2020-12-02 at 1.53.38 pm.png

0 Likes
Shopify Expert
627 32 131

This is an accepted solution.

Yes. You can do it like this:

<h1>
  {{- blog.title }}
  {% if current_tags %} | {{ current_tags | join: ' + ' }}{% endif -%}
</h1>