Favicon for website
Started work on comments to be embedded in blog page
diff --git a/erpnext/website/web_cache.py b/erpnext/website/web_cache.py
index dbed844..5fcae82 100644
--- a/erpnext/website/web_cache.py
+++ b/erpnext/website/web_cache.py
@@ -73,17 +73,15 @@
 		args.update(outer_env_dict)
 	
 	# decide template and update args
-	if doc_type == 'Blog':
-		template = 'blog/blog.html'
-		args.update({ 'insert_code': 1 })
-	elif doc_type == 'Item':
-		template = 'product/product.html'
-		args.update({ 'insert_code': 1 })
-	elif doc_type == 'Web Page':
+	if doc_type == 'Web Page':
 		template = 'web_page.html'
 	else:
 		args.update({ 'insert_code': 1 })
-		if page_name == 'blog':
+		if doc_type == 'Blog':
+			template = 'blog/blog.html'
+		elif doc_type == 'Item':
+			template = 'product/product.html'
+		elif page_name == 'blog':
 			template = 'blog/blog_list.html'
 		elif page_name == 'products':
 			template = 'product/product_list.html'
@@ -120,6 +118,7 @@
 			
 		'brand': webnotes.conn.get_value('Website Settings', None, 'brand_html'),
 		'copyright': webnotes.conn.get_value('Website Settings', None, 'copyright'),
+		'favicon': webnotes.conn.get_value('Website Settings', None, 'favicon')
 	}
 
 def get_index_page():