Website_context in hooks.py of own app not working

@Idat-Consulting
You can try below code.
put below code in your app directory (Ex. yourapp/template/page/utils.py)

import frappe
from frappe import _
def update_website_context(context):
	if frappe.auth.get_logged_user() != "Guest":
		context["check_student"]=True
	else:
		context["check_student"]= False
	context["student_menu"]= [
			{"label": _("Dashboar"), "url": "dashboard", "class": "cart-count"},
			{"class": "divider"}
		]

	# Set Techbeeo Logo on reload
	via_hooks = frappe.get_hooks("website_context")
	for key in via_hooks:
		context[key] = via_hooks[key]
		if key not in ("top_bar_items", "footer_items", "post_login") \
				and isinstance(context[key], (list, tuple)):
			context[key] = context[key][-1]

	if not frappe.local.conf.get("website_context"):
		frappe.local.conf['website_context'] = {}
	frappe.local.conf['website_context'].update(context)

and add below code in your hooks.py file

website_context = {
	"favicon": 	"/assets/university/images/favicon.png",
	"splash_image": "/assets/university/images/splash.png"
}
update_website_context = "yourapp.templates.pages.utils.update_website_context"