Skip to content

Commit

Permalink
added data-seo attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
sandiCzech committed Jun 11, 2014
1 parent fa892bd commit 837e5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FrontendModule/presenters/BasePresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ protected function getStructure($context, $node = NULL, $repo, $direct = TRUE, $
if (!empty($node['class']))
$class .= ' ' . $node['class'];

return '<a ' . $params . ' class="' . $class . '" href="' . $link . '"><span>' . $node['title'] . $span . '</span></a>';
return '<a ' . $params . ' data-seo="' . $path . '" class="' . $class . '" href="' . $link . '"><span>' . $node['title'] . $span . '</span></a>';
}
));
}
Expand Down

0 comments on commit 837e5af

Please sign in to comment.