Skip to content
Permalink
Browse files

adds canonical to meta()

  • Loading branch information...
thinkingmedia
thinkingmedia committed Oct 13, 2016
1 parent 1ef3453 commit 795c202056278063d0d64b8fe8b4b3d4f1ad5ceb
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/View/Helper/HtmlHelper.php
@@ -238,6 +238,7 @@ public function meta($type, $content = null, array $options = [])
'description' => ['name' => 'description', 'content' => $content],
'robots' => ['name' => 'robots', 'content' => $content],
'viewport' => ['name' => 'viewport', 'content' => $content],
'canonical' => ['rel' => 'canonical', 'link' => $content]
];
if ($type === 'icon' && $content === null) {

0 comments on commit 795c202

Please sign in to comment.
You can’t perform that action at this time.