mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-21 05:56:03 -05:00
feat: allow customizable about page
This commit is contained in:
@@ -60,6 +60,12 @@ def record_screen(request):
|
||||
def about(request):
|
||||
"""About view"""
|
||||
|
||||
page = Page.objects.filter(slug="about").first()
|
||||
if page:
|
||||
context = {}
|
||||
context["page"] = page
|
||||
return render(request, "cms/page.html", context)
|
||||
|
||||
context = {"VERSION": VERSION}
|
||||
return render(request, "cms/about.html", context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user