Skip to content

Commit

Permalink
Removing backslashes in meta elements so that the final page code is …
Browse files Browse the repository at this point in the history
…valid (without warnings) according to the HTML specification.

Some meta elements are already without the slash but some with, so let it be completely nice in this file.
  • Loading branch information
Peter-Liska committed Dec 11, 2024
1 parent fb07f25 commit 67d0dcb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/_partials/head.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
{/block}

{block name='head_open_graph'}
<meta property="og:title" content="{$page.meta.title}" />
<meta property="og:description" content="{$page.meta.description}" />
<meta property="og:url" content="{$urls.current_url}" />
<meta property="og:site_name" content="{$shop.name}" />
{if !isset($product) && $page.page_name != 'product'}<meta property="og:type" content="website" />{/if}
<meta property="og:title" content="{$page.meta.title}">
<meta property="og:description" content="{$page.meta.description}">
<meta property="og:url" content="{$urls.current_url}">
<meta property="og:site_name" content="{$shop.name}">
{if !isset($product) && $page.page_name != 'product'}<meta property="og:type" content="website">{/if}
{/block}
{/block}

Expand Down

0 comments on commit 67d0dcb

Please sign in to comment.