Leaderboard


Popular Content

Showing content with the highest reputation on 11/19/19 in Сообщения

  1. 1 point
    TopRaN

    Делаем правильный OpenGraph

    <meta property="og:title" content="{if $meta_title != ''}{$meta_title}{else}Мой сайт{/if}"> <meta property="og:description" content="{if $meta_description != ''}{$meta_description}{else}{$data.text.value|truncate:200}{/if}"> <meta property="og:image" content="http{if $smarty.server.HTTPS ne ''}s{/if}://{$smarty.server.HTTP_HOST}/img/data/{$photo[0].normal}" alt="{$title}"> <meta property="og:type" content="website"> <meta property="og:type" content="http{if $smarty.server.HTTPS ne ''}s{/if}://{$smarty.server.HTTP_HOST}" /> <meta property="og:url" content="http{if $smarty.server.HTTPS ne ''}s{/if}://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"> <meta property="og:site_name" content="{$title}"> <meta property="og:logo" content="http{if $smarty.server.HTTPS ne ''}s{/if}://{$smarty.server.HTTP_HOST}/template/frontend/{$current_theme_name}/img/logo.png" alt=""> <meta property="og:locale" content="ru_RU"> в тег html <html xmlns:og="http://ogp.me/ns#"/>
  2. 1 point
    abushyk

    объявления на сайте

    Сорри. я не глядя написал не <a href="{$grid_items[i].href} target="_blank"">...а <a href="{$grid_items[i].href}" target="_blank">...target="_blank" вне href=""