diff --git a/frontend/index.html b/frontend/index.html index 1c73632c..99ed8a60 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -23,17 +23,6 @@
{{ meta.description }}
-- The content here is just for seo purposes. The actual content will be loaded in a few seconds. -
-- Seo checks if a page has more than 300 words. So, here are some more words to make it more than 300 words. - Page descriptions are the HTML meta tags that provide a brief summary of a web page. - Search engines use meta descriptions to help identify the page's topic - they don't use them to rank the page, but they do use them to determine whether or not to display the page in search results. - Meta descriptions are important because they're often the first thing people see when they're deciding which search result to click on. - They're also important because they can help improve your click-through rate (CTR) from search results. - A good meta description can entice people to click on your page instead of someone else's. -
Know More diff --git a/lms/www/lms.py b/lms/www/lms.py index f2fc92a0..ef26e5c0 100644 --- a/lms/www/lms.py +++ b/lms/www/lms.py @@ -44,13 +44,13 @@ def get_meta(app_path): course = frappe.db.get_value( "LMS Course", course_name, - ["title", "image", "short_introduction", "tags"], + ["title", "image", "description", "tags"], as_dict=True, ) return { "title": course.title, "image": course.image, - "description": course.short_introduction, + "description": course.description, "keywords": course.tags, "link": f"/courses/{course_name}", } @@ -68,13 +68,13 @@ def get_meta(app_path): batch = frappe.db.get_value( "LMS Batch", batch_name, - ["title", "meta_image", "description", "category", "medium"], + ["title", "meta_image", "batch_details", "category", "medium"], as_dict=True, ) return { "title": batch.title, "image": batch.meta_image, - "description": batch.description, + "description": batch.batch_details, "keywords": f"{batch.category} {batch.medium}", "link": f"/batches/details/{batch_name}", } @@ -92,13 +92,13 @@ def get_meta(app_path): batch = frappe.db.get_value( "LMS Batch", batch_name, - ["title", "meta_image", "description", "category", "medium"], + ["title", "meta_image", "batch_details", "category", "medium"], as_dict=True, ) return { "title": batch.title, "image": batch.meta_image, - "description": batch.description, + "description": batch.batch_details, "keywords": f"{batch.category} {batch.medium}", "link": f"/batches/{batch_name}", } @@ -117,13 +117,13 @@ def get_meta(app_path): job_opening = frappe.db.get_value( "Job Opportunity", job_opening_name, - ["job_title", "company_logo", "company_name"], + ["job_title", "company_logo", "description"], as_dict=True, ) return { "title": job_opening.job_title, "image": job_opening.company_logo, - "description": job_opening.company_name, + "description": job_opening.description, "keywords": "Job Openings, Jobs, Vacancies", "link": f"/job-openings/{job_opening_name}", }