fix: Remove no_sitemap flag
This commit is contained in:
parent
479e0c979f
commit
467bd8a8ad
18 changed files with 0 additions and 18 deletions
|
|
@ -8,7 +8,6 @@ import json
|
|||
from frappe.integrations.doctype.braintree_settings.braintree_settings import get_client_token, get_gateway_controller
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
expected_keys = ('amount', 'title', 'description', 'reference_doctype', 'reference_docname',
|
||||
'payer_name', 'payer_email', 'order_id', 'currency')
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import json
|
|||
from six import string_types
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
expected_keys = ('amount', 'title', 'description', 'reference_doctype', 'reference_docname',
|
||||
'payer_name', 'payer_email', 'order_id')
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import json
|
|||
from frappe.integrations.doctype.stripe_settings.stripe_settings import get_gateway_controller
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
expected_keys = ('amount', 'title', 'description', 'reference_doctype', 'reference_docname',
|
||||
'payer_name', 'payer_email', 'order_id', 'currency')
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ from frappe.utils.pdf import get_pdf,cleanup
|
|||
from PyPDF2 import PdfFileWriter
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
base_template_path = "templates/www/printview.html"
|
||||
standard_format = "templates/print_formats/standard.html"
|
||||
|
|
|
|||
|
|
@ -2,4 +2,3 @@
|
|||
# MIT License. See license.txt
|
||||
from __future__ import unicode_literals
|
||||
|
||||
no_sitemap = 1
|
||||
|
|
|
|||
|
|
@ -3,4 +3,3 @@
|
|||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
no_sitemap = 1
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
from __future__ import unicode_literals, print_function
|
||||
|
||||
no_sitemap = 1
|
||||
no_cache = 1
|
||||
base_template_path = "templates/www/desk.html"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ from __future__ import unicode_literals, print_function
|
|||
import frappe
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
def get_context(context):
|
||||
if frappe.flags.in_migrate: return
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ from frappe.model.document import get_controller, Document
|
|||
from frappe import _
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
def get_context(context, **dict_params):
|
||||
"""Returns context for a list standard list page.
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ from frappe import _
|
|||
import frappe.www.list
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
def get_context(context):
|
||||
if frappe.session.user=='Guest':
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ import frappe
|
|||
from frappe.utils import strip_html_tags
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
def get_context(context):
|
||||
message_context = {}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ from frappe.utils import cint, strip_html
|
|||
from six import string_types
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
base_template_path = "templates/www/printview.html"
|
||||
standard_format = "templates/print_formats/standard.html"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ from __future__ import unicode_literals
|
|||
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
def get_context(context):
|
||||
context.show_sidebar=True
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
no_sitemap = 1
|
||||
base_template_path = "templates/www/robots.txt"
|
||||
|
||||
def get_context(context):
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ from six import iteritems
|
|||
from six.moves.urllib.parse import quote, urljoin
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
base_template_path = "templates/www/sitemap.xml"
|
||||
|
||||
def get_context(context):
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ from frappe import _
|
|||
import frappe.www.list
|
||||
|
||||
no_cache = 1
|
||||
no_sitemap = 1
|
||||
|
||||
def get_context(context):
|
||||
if frappe.session.user == 'Guest':
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ from __future__ import unicode_literals
|
|||
|
||||
from frappe import _
|
||||
|
||||
no_sitemap = 1
|
||||
no_cache = 1
|
||||
|
||||
def get_context(context):
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ import frappe
|
|||
from frappe.utils import strip
|
||||
from frappe.website.doctype.website_theme.website_theme import get_active_theme
|
||||
|
||||
no_sitemap = 1
|
||||
base_template_path = "templates/www/website_script.js"
|
||||
|
||||
def get_context(context):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue