|
@@ 370-372 (lines=3) @@
|
| 367 |
|
{ |
| 368 |
|
$metas = []; |
| 369 |
|
|
| 370 |
|
if (!empty($this->app->config['site']['keywords'])) { |
| 371 |
|
$metas['metaName:keywords'] = ['name' => 'keywords', 'content' => $this->app->config['site']['keywords']]; |
| 372 |
|
} |
| 373 |
|
if (!empty($this->app->config['site']['description'])) { |
| 374 |
|
$metas['metaName:description'] = ['name' => 'description', 'content' => $this->app->config['site']['description']]; |
| 375 |
|
} |
|
@@ 373-375 (lines=3) @@
|
| 370 |
|
if (!empty($this->app->config['site']['keywords'])) { |
| 371 |
|
$metas['metaName:keywords'] = ['name' => 'keywords', 'content' => $this->app->config['site']['keywords']]; |
| 372 |
|
} |
| 373 |
|
if (!empty($this->app->config['site']['description'])) { |
| 374 |
|
$metas['metaName:description'] = ['name' => 'description', 'content' => $this->app->config['site']['description']]; |
| 375 |
|
} |
| 376 |
|
if (!empty($this->app->config['site']['metatags'])) { |
| 377 |
|
foreach ($this->app->config['site']['metatags'] as $meta) { |
| 378 |
|
if (!empty($meta['name'])) { |