Skip to content

Commit

Permalink
canonical url set name set to rel
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsekaean committed May 29, 2019
1 parent a718b85 commit de23e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/SEODataExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function GenerateMetaTags()

if($record->CanonicalURL) {
$tags[] = HTML::createTag('link', [
'name' => 'canonical',
'rel' => 'canonical',
'content' => $record->CanonicalURL,
]);
}
Expand Down

0 comments on commit de23e14

Please sign in to comment.