Skip to content

Commit 28b22af

Browse files
committed
FIX: Заголовки поисковой выдачи
1 parent 45eed4f commit 28b22af

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/search/views/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<body class="search-page<?php if ($container->cookies()->get('dayNight')->value() == 'dark') : ?> dark<?php endif; ?>">
99

10-
<header class="d-header justify-between">
10+
<header class="justify-between">
1111

1212
<div class="box-logo">
1313
<a title="<?= __('app.home'); ?>" class="logo" href="/"><?= config('meta', 'name'); ?></a>

modules/search/views/search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<?php foreach ($data['results'] as $result) :
2929
if (config('general', 'search_engine') == false) {
30-
$url_content = '';
30+
$url_content = post_slug($result['post_type'], $result['post_id'], $result['post_slug']);
3131
} else {
3232
$url_content = ($type == 'comment') ? $url_content . '#comment_' . $result['comment_id'] : $result['url'];
3333
}

0 commit comments

Comments
 (0)