1.1.56 upd meta OG

This commit is contained in:
2024-08-01 17:17:58 +03:00
parent 312a706d00
commit 0ef2f9aeb1
2 changed files with 46 additions and 2 deletions

View File

@@ -0,0 +1,42 @@
{% if page.url == 'main' %}
{% endif %}
{% if page.url == 'about_service' and page.url == 'ru' %}
<meta property="og:type" content="website">
<meta property="og:title" content="Express parcel delivery | TWB">
<meta property="og:description" content="You can order fast delivery of parcels and letters to all CIS cities with us ✓ Competitive rates on the website ✓ Express parcel dispatch ➡️ Contact us">
<meta property="og:url" content="https://tripwb.com/en/page/about_service/">
<meta property="og:image" content="https://tripwb.com/static/img/png/finlogo.png">
<meta property="og:site_name" content="TWB">
<meta property="og:locale" content="en_EN">
<meta property="fb:app_id" content="tripwithbonus">
<meta name="twitter:title" content="Express parcel delivery | TWB">
<meta name="twitter:description" content="You can order fast delivery of parcels and letters to all CIS cities with us ✓ Competitive rates on the website ✓ Express parcel dispatch ➡️ Contact us">
<meta name="twitter:card" content="summary">
{% endif %}
{% if page.url == 'about_service' and page.url == 'en' %}
<meta property="og:type" content="website">
<meta property="og:title" content="Express parcel delivery | TWB">
<meta property="og:description" content="You can order fast delivery of parcels and letters to all CIS cities with us ✓ Competitive rates on the website ✓ Express parcel dispatch ➡️ Contact us">
<meta property="og:url" content="https://tripwb.com/en/page/about_service/">
<meta property="og:image" content="https://tripwb.com/static/img/png/finlogo.png">
<meta property="og:site_name" content="TWB">
<meta property="og:locale" content="en_EN">
<meta property="fb:app_id" content="tripwithbonus">
<meta name="twitter:title" content="Express parcel delivery | TWB">
<meta name="twitter:description" content="You can order fast delivery of parcels and letters to all CIS cities with us ✓ Competitive rates on the website ✓ Express parcel dispatch ➡️ Contact us">
<meta name="twitter:card" content="summary">
{% endif %}

View File

@@ -7,7 +7,6 @@
<html lang="{{ request.LANGUAGE_CODE }}"> <html lang="{{ request.LANGUAGE_CODE }}">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
{# <meta name="viewport" content="width=100%,maximum-scale=5,minimum-scale=1,initial-scale=1">#}
<meta name="viewport" content="width=device-width,maximum-scale=1,minimum-scale=1,initial-scale=1,height=device-height"> <meta name="viewport" content="width=device-width,maximum-scale=1,minimum-scale=1,initial-scale=1,height=device-height">
{% if page.description %} {% if page.description %}
<meta name="description" content="{{ page.description }}"> <meta name="description" content="{{ page.description }}">
@@ -19,6 +18,8 @@
<meta name="google-site-verification" content="4V4upJSK2_4MBrr5ZXjcCLw3bBwXc4_gsnKudJAaWqI" /> <meta name="google-site-verification" content="4V4upJSK2_4MBrr5ZXjcCLw3bBwXc4_gsnKudJAaWqI" />
<meta name="yandex-verification" content="b8a976575e41fbbc" /> <meta name="yandex-verification" content="b8a976575e41fbbc" />
{% include "inter/meta_OpenGraph.html" %}
<!-- Yandex.Metrika counter --> <!-- Yandex.Metrika counter -->
<script type="text/javascript" > <script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
@@ -148,6 +149,7 @@ function gtag_report_conversion(url) {
<body{% if page_type == 'routes' %} onscroll="scroll_ev(event,this)"{% endif %}> <body{% if page_type == 'routes' %} onscroll="scroll_ev(event,this)"{% endif %}>
<div class="popup_wrapper"> <div class="popup_wrapper">
{% if not user.is_authenticated %} {% if not user.is_authenticated %}
<div class="popup_content"> <div class="popup_content">
<div class="popup_cross" onclick="setCokie(182,'popup_show','false')"> <div class="popup_cross" onclick="setCokie(182,'popup_show','false')">
@@ -160,7 +162,7 @@ function gtag_report_conversion(url) {
</div> </div>
{% endif %} {% endif %}
{# ДОБАВИТЬ ПРОВЕРКУ НА ДАТУ РЕГИСТРАЦИИ ЧТОБЫ ПОПАП НЕ ПОЯВЛЯЛСЯ У ВСЕХ ЭТО ВРЕМЕННО#}
{% if user.is_authenticated %} {% if user.is_authenticated %}
<div class="popup_content"> <div class="popup_content">
<div class="popup_cross" onclick="setCokie(182,'first_authorization','true')"> <div class="popup_cross" onclick="setCokie(182,'first_authorization','true')">