Poprawa formatowania opisu artykułu oraz usunięcie zbędnych spacji w danych JSON
This commit is contained in:
@@ -43,7 +43,7 @@ $text = \front\factory\Articles::generateHeadersIds( $text );
|
||||
<div class="author">
|
||||
<img class="image" src="<?= $author['image'];?>" alt="<?= htmlspecialchars( $author['author'] );?>">
|
||||
<p class="name"><?= $author['author'];?></p>
|
||||
|
||||
|
||||
<? if($author['author_position']) : ?>
|
||||
<div class="autor-position">
|
||||
<p><?= $author['author_position'];?></p>
|
||||
@@ -346,11 +346,11 @@ $text = \front\factory\Articles::generateHeadersIds( $text );
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BlogPosting",
|
||||
"headline": "<?php echo $this -> article['language']['title']; ?>",
|
||||
"description": "<?php echo $this -> article['language']['entry']; ?>",
|
||||
"description": "<?php echo trim( preg_replace('/\s+/', ' ', strip_tags( $this -> article['language']['entry'] )) );?>",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "<?php echo $author['author'];?>",
|
||||
"jobTitle": "<?php echo $author['author_position'];?>",
|
||||
"jobTitle": "<?php echo $author['author_position'];?>"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
@@ -370,6 +370,6 @@ $text = \front\factory\Articles::generateHeadersIds( $text );
|
||||
"Marketing opinii",
|
||||
"Opinie w sklepie internetowym"
|
||||
],
|
||||
"image": "https://zaufane.pl/<?php echo $this -> article['language']['main_image']; ?>",
|
||||
"image": "https://zaufane.pl/<?php echo $this -> article['language']['main_image']; ?>"
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user