From 539066320fddbbe538a8bbc793dce6f073e148fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Charette?= Date: Fri, 30 Jan 2009 18:08:33 +0000 Subject: [PATCH] fixed bug #2660 - get rid of 'meta robots noindex' tag in html files svn: r11764 --- src/plugins/webreport/NarrativeWeb.py | 15 +++++++-------- src/plugins/webreport/WebCal.py | 8 ++++---- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 8acf48e16..c2ba7f5b0 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -363,17 +363,16 @@ class BasePage: of.write('\n') - of.write('\n' % (xmllang, xmllang)) + of.write('\n' % (xmllang, xmllang)) of.write('\n') of.write('\t%s - %s\n' % (html_escape(self.title_str), html_escape(title))) - of.write('\t\n' % self.report.encoding) - of.write('\t\n') - of.write('\t\n') + of.write('\t\n' + % self.report.encoding) + of.write('\t\n' % + (const.PROGRAM_NAME, const.VERSION, const.URL_HOMEPAGE)) of.write('\t\n' % self.author) # Link to screen stylesheet @@ -385,7 +384,7 @@ class BasePage: # Link to printer stylesheet fname = os.path.join("styles", "Web_Print-Default.css") url = self.report.build_url_fname(fname, None, self.up) - of.write(' \n' % url) # Link to GRAMPS favicon diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index 6769bcedd..5db297bbc 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -685,15 +685,15 @@ class WebCalReport(Report): of.write('\n') - of.write('\n' % (xmllang, xmllang)) + of.write('\n' % (xmllang, xmllang)) of.write('\n') of.write('\t%s\n\n' % title) of.write('\t\n' % self.encoding) - of.write('\t\n') - of.write('\t\n') + of.write('\t\n' % + (const.PROGRAM_NAME, const.VERSION, const.URL_HOMEPAGE)) of.write('\t\n\n' % self.author) subdirs = ['..'] * nr_up