aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-08 16:21:35 -0800
committerredmatrix <git@macgirvin.com>2016-03-08 16:21:35 -0800
commitcf4dc2caa82c9d03ac667feed5f5671510e0e00a (patch)
tree850516321abd53102637db948b8b71c9c7988b22
parent1258f9bb2114bd4a909f623a7519ba446bf8da0d (diff)
downloadvolse-hubzilla-cf4dc2caa82c9d03ac667feed5f5671510e0e00a.tar.gz
volse-hubzilla-cf4dc2caa82c9d03ac667feed5f5671510e0e00a.tar.bz2
volse-hubzilla-cf4dc2caa82c9d03ac667feed5f5671510e0e00a.zip
move "generator" to HttpMeta
-rwxr-xr-xboot.php3
-rwxr-xr-xview/tpl/head.tpl1
2 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index c89ffc9ad..37374ef4c 100755
--- a/boot.php
+++ b/boot.php
@@ -1026,6 +1026,8 @@ class App {
if(! $this->meta->get_field('og:title'))
$this->meta->set('og:title',$this->page['title']);
+ $this->meta->set('generator', Zotlabs\Project\System::get_platform_name());
+
/* put the head template at the beginning of page['htmlhead']
* since the code added by the modules frequently depends on it
* being first
@@ -1036,7 +1038,6 @@ class App {
'$user_scalable' => $user_scalable,
'$baseurl' => $this->get_baseurl(),
'$local_channel' => local_channel(),
- '$generator' => Zotlabs\Project\System::get_platform_name() . ((Zotlabs\Project\System::get_project_version()) ? ' ' . Zotlabs\Project\System::get_project_version() : ''),
'$metas' => $this->meta->get(),
'$update_interval' => $interval,
'$icon' => head_get_icon(),
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl
index 93ee9af2a..ba883c1f0 100755
--- a/view/tpl/head.tpl
+++ b/view/tpl/head.tpl
@@ -1,7 +1,6 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<base href="{{$baseurl}}/" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable={{$user_scalable}}" />
-<meta name="generator" content="{{$generator}}" />
{{$metas}}
<!--[if IE]>
<script src="{{$baseurl}}/library/html5.js"></script>