1
0

Use proper "generator" metatag. Do not expose version number if not configured.

This commit is contained in:
Garvin Hicking
2014-07-21 12:11:55 +02:00
parent 41388a4a7e
commit 9459c393df
19 changed files with 19 additions and 20 deletions

@ -10,7 +10,7 @@
<head>
<title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
<meta name="Powered-By" content="Serendipity v.{$head_version}" />
<meta name="generator" content="Serendipity v.{$serendipityVersion}" />
<!-- base styles needed for bulletproof -->
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="base.css"}" />
<!-- style.css -->

@ -10,7 +10,7 @@
<title>{$head_title|@default:$blogTitle}{if $head_subtitle} - {$head_subtitle}{/if}</title>
{serendipity_hookPlugin hook="frontend_header"}
<meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
<meta name="Powered-By" content="Serendipity v.{$head_version}" />
<meta name="generator" content="Serendipity v.{$serendipityVersion}" />
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />
{if $entry_id}<link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&amp;entry_id={$entry_id}" />{/if}

@ -7,7 +7,7 @@
<head>
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
<meta name="Powered-By" content="Serendipity v.{$head_version}" />
<meta name="generator" content="Serendipity v.{$serendipityVersion}" />
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="base.css"}" />
<link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" />
<!--[if IE 6]>