Improve default sitemap template, including Google's enhanced 404 pages by default.

This commit is contained in:
uriel 2009-02-25 05:24:05 +00:00
parent ec289e417b
commit 89703c8776

View File

@ -1,7 +1,12 @@
<!-- To have a custom 404 page copy this template to your site's (or masterSite) _inc director and edit it as you like -->
<h1>The requested document at '<i>%($base_url$"req_path%)</i>' doesn't exist</h1>
<h1>The page requested for <i>
% echo ''''$"req_path''''
</i> doesn't exist</h1>
% # Google Enhanced 404 pages: http://www.google.com/support/webmasters/bin/answer.py?answer=93644
<script type="text/javascript">
var GOOG_FIXURL_LANG = 'en';
var GOOG_FIXURL_SITE = '%($base_url%)/';
</script>
<script type="text/javascript"
src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
% # TODO: Use http://www.google.com/support/webmasters/bin/answer.py?answer=100044&hl=en by default?
<h4>Or take a look at the <a href="/sitemap">sitemap</a>.</h4>
<hr />