Created
June 1, 2022 07:51
-
-
Save xlawok/cd6ad7480f683aff22ec481331d70b10 to your computer and use it in GitHub Desktop.
Prestashop - add pagination to meta title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if $smarty.server.HTTP_HOST=='amberdream.pl'&&$language.iso_code=='pl'} | |
{if $page.page_name=="index"} | |
<title>{block name='head_seo_title'}Sklep internetowy z produktami z bursztynu - Amber Dream{/block}</title> | |
{else} | |
<title>{block name='head_seo_title'}{$page.meta.title} {if isset($listing.pagination)&&$listing.pagination.current_page > 1} - Strona - {$listing.pagination.current_page} {/if} - Amber Dream{/block}</title> | |
{/if} | |
{else} | |
<title>{block name='head_seo_title'}{$page.meta.title} {/block}</title> | |
{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment