Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

urls: Move /why-zulip pages to the corporate folder.

Aman Agrawalc908c9b4978a
diff --git a/corporate/urls.py b/corporate/urls.py
index 91d563b5f48..f3d09968d17 100644
--- a/corporate/urls.py
+++ b/corporate/urls.py
@@ -68,7 +68,7 @@ landing_page_urls = [
path("attribution/", landing_view, {"template_name": "corporate/attribution.html"}),
path("team/", team_view),
path("history/", landing_view, {"template_name": "corporate/history.html"}),
- path("why-zulip/", landing_view, {"template_name": "zerver/why-zulip.html"}),
+ path("why-zulip/", landing_view, {"template_name": "corporate/why-zulip.html"}),
path("self-hosting/", landing_view, {"template_name": "zerver/self-hosting.html"}),
path("security/", landing_view, {"template_name": "zerver/security.html"}),
# /for pages
diff --git a/templates/zerver/why-zulip.html b/templates/corporate/why-zulip.html
similarity index 96%
rename from templates/zerver/why-zulip.html
rename to templates/corporate/why-zulip.html
index bf503025c96..286f0116d51 100644
--- a/templates/zerver/why-zulip.html
+++ b/templates/corporate/why-zulip.html
@@ -28,7 +28,7 @@
<div class="main">
<div class="padded-content">
<div class="inner-content markdown">
- {{ render_markdown_path('zerver/why-zulip.md') }}
+ {{ render_markdown_path('corporate/why-zulip.md') }}
</div>
</div>
</div>
diff --git a/templates/zerver/why-zulip.md b/templates/corporate/why-zulip.md
similarity index 100%
rename from templates/zerver/why-zulip.md
rename to templates/corporate/why-zulip.md