mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
docs: Add proper backlink to the homepage from /help and /api.
Currently, the "Home" link at the top takes one to the doc root, i.e., /help or /api. This is a little misleading since "Home" seems to be more synonymous with the Zulip homepage. This commit adds a proper backlink to the top logo that takes you to the homepage and renames "Home" to be more specific. The text after "|" will now take you to the doc root instead (/help or /api). Note that this allows us to link the /help and /api pages from the homepage while ensuring that backlinks allow the visitor to get back to the homepage.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<div class="app help terms-page inline-block{% if page_is_help_center %} help-center{% endif %}{% if page_is_api_center %} api-center{% endif %}">
|
||||
<div class="sidebar">
|
||||
<div class="content">
|
||||
<h1><a href="{{ doc_root }}" class="no-underline">Home</a></h1>
|
||||
<h1><a href="https://zulip.com" class="no-underline">Zulip homepage</a></h1>
|
||||
{{ render_markdown_path(sidebar_index, api_uri_context) }}
|
||||
<h1 class="home-link"><a href="/" class="no-underline">Back to Zulip</a></h1>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user