fix: remove page_renderer and references

This commit is contained in:
Jannat Patel
2021-12-06 13:10:42 +05:30
parent 7c5021132d
commit 8ee57f0254
9 changed files with 11 additions and 125 deletions

View File

@@ -152,12 +152,6 @@ update_website_context = [
'school.widgets.update_website_context',
]
jinja = {
"methods": [
"school.page_renderers.get_profile_url"
],
"filters": []
}
## Specify the additional tabs to be included in the user profile page.
## Each entry must be a subclass of school.school.plugins.ProfileTab
# profile_tabs = []
@@ -179,11 +173,5 @@ school_markdown_macro_renderers = {
"Video": "school.plugins.video_renderer"
}
# page_renderer to manage profile pages
#page_renderer = [
# "school.page_renderers.ProfileRedirectPage",
# "school.page_renderers.ProfilePage"
#]
# set this to "/" to have profiles on the top-level
profile_url_prefix = "/users/"