feat: allow customizable about page

This commit is contained in:
Markos Gogoulos
2025-09-21 15:47:04 +03:00
parent 208f0b338b
commit 56182f0a6d
2 changed files with 7 additions and 1 deletions

View File

@@ -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)