annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Delete -Shopname at the end of meta titles

Highlighted
Nouveau membre
5 0 0

Hi, 

 

I want to delete -Shopname to be displayed in all my my meta titles. I know where it is in the code, but can't make it work properly. Here is my code : 

 

{% if current_tags %}{% assign meta_tags = current_tags | join: ', ' %}{% endif %}
{% comment %}<title>
{{ page_title }}{% if current_tags %} &ndash; tagged "{{ current_tags | join: ', ' }}"{% endif %}{% if current_page != 1 %} &ndash; Page {{ current_page }}{% endif %}
</title>{% endcomment %}

 

Is there something wrong in this piece of code ? 

 

Thank you !

0 J'aime