Favicon for website
Started work on comments to be embedded in blog page
diff --git a/erpnext/patches/june_2012/cms2.py b/erpnext/patches/june_2012/cms2.py
index 08174cb..fe4774e 100644
--- a/erpnext/patches/june_2012/cms2.py
+++ b/erpnext/patches/june_2012/cms2.py
@@ -23,6 +23,13 @@
update `tabItem`
set show_in_website = if(show_in_website = 'Yes', 1, 0)
where show_in_website is not null""")
+
+ # move comments from comment_doctype Page to Blog
+ webnotes.conn.sql("""\
+ update `tabComment` comm, `tabBlog` blog
+ set comm.comment_doctype = 'Blog', comm.comment_docname = blog.name
+ where comm.comment_docname = blog.page_name""")
+
def save_pages():
"""save all web pages, blogs to create content"""