Hello,
I like to test if my seo becomes better when i place my logo between h1 tags. Now i create this code, but with this code two logo are showed. Can somebody tell me what i'm doing wrong? I only want the h1 tags on my homepage / index page.
Hello,
I like to test if my seo becomes better when i place my logo between h1 tags. Now i create this code, but with this code two logo are showed. Can somebody tell me what i'm doing wrong? I only want the h1 tags on my homepage / index page.
Hello
{if $smarty.request.dispatch == "index.index"}
{* in h1 *}
{else}
{* normal *}
{/if}
Best regards
Robert
Thank you very much!
This solution should work as well with better performance.
{if $runtime.controller == 'index' && $runtime.mode == 'index'}
{* in h1 *}
{else}
{* normal *}
{/if}
Why do you think it will perform better? Both are memory references.
Why do you think it will perform better? Both are memory references.
Yes, you are correct.