| @@ 108-111 (lines=4) @@ | ||
| 105 | <?php if ((int)$configs['keywordsAsTags'] === 1 && $item['tags'] !== null && Obj::isArray($item['tags'])): ?> |
|
| 106 | <span><i class="fa fa-tags hidden-xs"></i> |
|
| 107 | <?php |
|
| 108 | foreach ($item['tags'] as $tag) { |
|
| 109 | $tag = \App::$Security->strip_tags(trim($tag)); |
|
| 110 | echo Url::link(['content/tag', $tag], $tag, ['class' => 'label label-default']) . " "; |
|
| 111 | } |
|
| 112 | ?> |
|
| 113 | </span> |
|
| 114 | <meta itemprop="keywords" content="<?php implode(',', $item['tags']); ?>"> |
|
| @@ 161-164 (lines=4) @@ | ||
| 158 | <?php |
|
| 159 | if (Obj::isArray($model->metaKeywords) && count($model->metaKeywords) > 0 && Str::length($model->metaKeywords[0]) > 0) { |
|
| 160 | echo '<i class="fa fa-tags hidden-xs"></i> '; |
|
| 161 | foreach ($model->metaKeywords as $tag) { |
|
| 162 | $tag = \App::$Security->strip_tags(trim($tag)); |
|
| 163 | echo Url::link(['content/tag', $tag], $tag, ['class' => 'label label-default']) . " "; |
|
| 164 | } |
|
| 165 | } |
|
| 166 | ?> |
|
| 167 | </div> |
|