Skip to content

Commit

Permalink
adds canonical to meta()
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingmedia committed Oct 13, 2016
1 parent 1ef3453 commit 795c202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/View/Helper/HtmlHelper.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ public function meta($type, $content = null, array $options = [])
'description' => ['name' => 'description', 'content' => $content], 'description' => ['name' => 'description', 'content' => $content],
'robots' => ['name' => 'robots', 'content' => $content], 'robots' => ['name' => 'robots', 'content' => $content],
'viewport' => ['name' => 'viewport', 'content' => $content], 'viewport' => ['name' => 'viewport', 'content' => $content],
'canonical' => ['rel' => 'canonical', 'link' => $content]
]; ];


if ($type === 'icon' && $content === null) { if ($type === 'icon' && $content === null) {
Expand Down

0 comments on commit 795c202

Please sign in to comment.