feat: added get_profile_url function to get the profile url in templates
This takes care of generating the correct profile URL depending on the `profile_url_prefix` setting. Issue #192
This commit is contained in:
@@ -149,8 +149,13 @@ website_redirects = [
|
||||
|
||||
update_website_context = [
|
||||
'community.widgets.update_website_context',
|
||||
'community.page_renderers.update_website_context'
|
||||
]
|
||||
jinja = {
|
||||
"methods": [
|
||||
"community.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 community.community.plugins.ProfileTab
|
||||
# profile_tabs = []
|
||||
|
||||
Reference in New Issue
Block a user