From b6d9470a4e07010a7ca077d01ad15037105b984d Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 27 May 2022 11:44:41 +0530 Subject: [PATCH] fix: removed meta info from certificate page --- lms/www/courses/certificate.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lms/www/courses/certificate.py b/lms/www/courses/certificate.py index bf0d2ec6..70dd7ff9 100644 --- a/lms/www/courses/certificate.py +++ b/lms/www/courses/certificate.py @@ -27,12 +27,6 @@ def get_context(context): context.custom_certificate_template = frappe.db.get_value("Web Template", template_name, "template") context.custom_template = render_template(context.custom_certificate_template, context) - context.metatags = { - "title": f"{member.full_name} - {course.title}", - "image": course.image, - "keywords": course.title, member.full_name - } - def redirect_to_course_list(): frappe.local.flags.redirect_location = "/courses" raise frappe.Redirect