I have two titles on this page?

Highlighted
New Member
16 0 0

Hi,

 

I seem to have two titles for this page: https://thewhitekitchencompany.com/collections

 

I have pasted my meta code below. It includes automatically taking off the shop name from titles....and changes the title tag and description to the collection page (as it was automatically being duplicated from the home page), can anyone see where I am calling up two titles for the collections page?

 

{% if current_tags %}{% assign meta_tags = current_tags | join: ', ' %}{% endif %}       

    <title>{% if template contains "index" %}{{ page_title }}{% else %}{{ page_title }}{% if current_tags %} {{ 'general.meta.tagged_html' | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} {{ 'general.meta.page' | t: page_number: current_page }}{% endif %}{% endif %}</title>

  

 {% if template contains 'collection' %} <meta name="description" content="Shop for your Shaker or Period English solid wood kitchen cabinets - Handmade to order, buy on-line - DIY Kitchens" />

<title>DIY KItchens Buy Online | Quality Solid Wood Kitchens | SHOP Now</title> {% else %}

 <meta name="description" content="{{ page_description | escape }}" /> 

 {% endif %} 

0 Likes