aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/page_elements/html_begin.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/page_elements/html_begin.php b/views/default/page_elements/html_begin.php
index ebd4c008a..68607f1ec 100644
--- a/views/default/page_elements/html_begin.php
+++ b/views/default/page_elements/html_begin.php
@@ -77,7 +77,13 @@ foreach ($css as $link) {
echo elgg_view('scripts/initialize_elgg');
echo $feedref;
-echo elgg_view('metatags', $vars);
+
+$metatags = elgg_view('metatags', $vars);
+if ($metatags) {
+ elgg_deprecated_notice("The metatags view has been deprecated for html_head/extend", 1.8);
+ echo $metatags;
+}
+echo elgg_view('html_head/extend', $vars);
?>
</head>