aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/elements')
-rw-r--r--views/default/page/elements/head.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/views/default/page/elements/head.php b/views/default/page/elements/head.php
index b1556b547..e7951c4ff 100644
--- a/views/default/page/elements/head.php
+++ b/views/default/page/elements/head.php
@@ -14,7 +14,7 @@ if (empty($vars['title'])) {
global $autofeed;
if (isset($autofeed) && $autofeed == true) {
- $url = full_url();
+ $url = current_page_url();
if (substr_count($url,'?')) {
$url .= "&view=rss";
} else {
@@ -33,12 +33,10 @@ END;
$js = elgg_get_loaded_js('head');
$css = elgg_get_loaded_css();
-$version = get_version();
$release = get_version(true);
?>
<meta charset="utf-8" />
- <meta name="ElggRelease" content="<?php echo $release; ?>" />
- <meta name="ElggVersion" content="<?php echo $version; ?>" />
+ <meta name="generator" content="Elgg <?php echo $release; ?>" />
<title><?php echo $title; ?></title>
<?php echo elgg_view('page/elements/shortcut_icon', $vars); ?>
@@ -76,4 +74,4 @@ $metatags = elgg_view('metatags', $vars);
if ($metatags) {
elgg_deprecated_notice("The metatags view has been deprecated. Extend page/elements/head instead", 1.8);
echo $metatags;
-} \ No newline at end of file
+}