I am trying to avoid self coping of views functions but have no idea ho to do it. My views have a minor differences and there is definitely a way to render html pages with a si
You can capture a slug in the URL and use it to determine which template to render.
path('', views.general_page, ...)
...
def general_page(request, slug): return render(request, 'website/{}.html'.format(slug))