Skip to content

Commit e1316e4

Browse files
indicate version in meta tag generator
1 parent 1c10cf1 commit e1316e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/class/Servicerender.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ protected function gethead(): string
193193
$title = htmlspecialchars($this->page->title());
194194
$suffix = htmlspecialchars(Config::suffix());
195195
$url = Config::url();
196+
$generator = 'W ' . getversion();
196197

197198
$head = '';
198199

@@ -218,7 +219,7 @@ protected function gethead(): string
218219

219220
$head .= "<meta name=\"description\" content=\"$description\" />\n";
220221
$head .= "<meta name=\"viewport\" content=\"width=device-width\" />\n";
221-
$head .= "<meta name=\"generator\" content=\"W-cms\" />\n";
222+
$head .= "<meta name=\"generator\" content=\"$generator\" />\n";
222223

223224
$head .= "<meta property=\"og:type\" content=\"website\" />";
224225
$head .= "<meta property=\"og:title\" content=\"$title$suffix\">\n";

0 commit comments

Comments
 (0)