Commit b393ab97 authored by Ruslan Karimov's avatar Ruslan Karimov

fix

parent bfcd250d
<?php
use common\modules\languages\models\Languages;
$langs = Languages::find()->where(['!=', 'id', Languages::getCurrent()->id])->all();
$currentLang = Languages::getCurrent();
$langs = Languages::find()->where(['!=', 'id', $currentLang->id])->all();
?>
<meta name="keywords" content="<?php echo \Yii::$app->controller->meta_keywords?>">
......@@ -14,7 +14,10 @@ $langs = Languages::find()->where(['!=', 'id', Languages::getCurrent()->id])->al
foreach ($langs as $lang) : $url = \Yii::$app->request->getLangUrl(); ?>
<link rel="alternate" hreflang="<?=$lang->url?>" href="<?= yii\helpers\Url::to((!$lang->default?'/'.$lang->url:'').$url, true) ?>" />
<?php endforeach;
endif; ?>
if ($currentLang->default) : ?>
<link rel="canonical" href="<?= yii\helpers\Url::to(\Yii::$app->request->getLangUrl(), true) ?>" />
<?php endif;
endif;?>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="/images/favicon/apple-touch-icon.png">
......
<?php
use common\modules\languages\models\Languages;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
......
......@@ -12,6 +12,10 @@ RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
RewriteCond %{REQUEST_URI} /index.php
RewriteCond %{QUERY_STRING} ^\z
RewriteRule ^(.*)$ https://task-on.com/? [R=301,L]
<IfModule mod_expires.c>
<FilesMatch \.(gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$>
ExpiresDefault "access plus 1 year"
......
......@@ -2733,7 +2733,7 @@ width: 95%;
.round_schedule_ins_ul {
padding-left: 0;
}
..round_schedule_ins_ul li {
.round_schedule_ins_ul li {
line-height: 24px;
}
/*#chart-container text, #chart-container tspan {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment