documentation: Change open graph metadata for /integrations.

This commit is contained in:
Puneeth Chaganti
2019-07-11 01:00:06 +05:30
committed by Tim Abbott
parent c3adafbee9
commit 6fdd8fb4a1
2 changed files with 11 additions and 0 deletions

View File

@@ -162,6 +162,10 @@ def add_integrations_open_graph_context(context: Dict[str, Any], request: HttpRe
context['OPEN_GRAPH_TITLE'] = 'Connect your {category} tools to Zulip'.format(category=category)
context['OPEN_GRAPH_DESCRIPTION'] = description
elif path_name == 'integrations':
context['OPEN_GRAPH_TITLE'] = 'Connect the tools you use to Zulip'
context['OPEN_GRAPH_DESCRIPTION'] = description
class IntegrationView(ApiURLView):
template_name = 'zerver/integrations/index.html'