fix: empty meta info issue

This commit is contained in:
Jannat Patel
2025-04-11 18:43:34 +05:30
parent a21020e226
commit e1f35c86db

View File

@@ -28,7 +28,8 @@ def get_context():
def get_meta(app_path, title, favicon, description):
meta = {}
meta = frappe._dict()
if app_path:
meta = get_meta_from_document(app_path)
@@ -273,3 +274,5 @@ def get_meta_from_document(app_path):
"keywords": "All Programs, Programs, Learn",
"link": "/programs",
}
return {}