Change meta text for ru main page.

This commit is contained in:
Oleg Sh
2025-05-25 20:56:27 +02:00
parent 9494cb6bdf
commit 2071f77490
4 changed files with 15 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
<h1 style="display:inline;" id="h1Header"><?= L('title_notg')?></h1>
<span class="hidden-xs" id="h1Text"><?= L('text')?></span>
<span class="hidden-phone" id="h1Text"><?= L('text')?></span>
<section>
<ul class="nav nav-pills" id="main-menu">
@@ -317,7 +317,7 @@
<?php endif; ?>
<section class="translation">
<section class="translation" style="display:none;">
<div id="addEdge">
<form>
<fieldset>

View File

@@ -7,6 +7,12 @@
<?php if (!empty($description)):?><meta name="description" content="<?= $description?>" /><?php endif?>
<?php if (!empty($keyWords)):?><meta name="keywords" content="<?= $keyWords?>" /><?php endif?>
<meta property="og:title" content="<?= $title ?>" />
<meta property="og:type" content="website" />
<?php $page_url = 'https://' . $_SERVER['HTTP_HOST'] . explode('?', $_SERVER['REQUEST_URI'], 2)[0] . (!empty($_GET["graph"]) ? '?graph=' . $_GET["graph"] : "" ); ?>
<meta property="og:url" content="<?= $page_url ?>" />
<?php if (!empty($g_lang["m_description_long"])):?><meta property="og:description" content="<?= $g_lang["m_description_long"] ?>"><?php endif?>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?= Root('i/image/touch_icon/favicon_144x144.png')?>" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?= Root('i/image/touch_icon/favicon_114x114.png')?>" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?= Root('i/image/touch_icon/favicon_72x72.png')?>" />