summary refs log tree commit diff
path: root/docs/website_files/theme/index.hbs
diff options
context:
space:
mode:
authorAction Bot <action@synapse.bot.com>2023-12-11 14:52:19 +0000
committerAction Bot <action@synapse.bot.com>2023-12-11 14:52:19 +0000
commitfdfcfaa04260a04a212f4987b728bf8e8c744c87 (patch)
treec7017d8e29f6d710abf1ca2de6770279fb5e0447 /docs/website_files/theme/index.hbs
parentLinkify GHSA commit (diff)
downloadsynapse-release-v1.61.tar.xz
Version picker added for v1.61 docs github/release-v1.61 release-v1.61
Diffstat (limited to 'docs/website_files/theme/index.hbs')
-rw-r--r--docs/website_files/theme/index.hbs14
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/website_files/theme/index.hbs b/docs/website_files/theme/index.hbs
index 3b7a5b6163..b169323a43 100644
--- a/docs/website_files/theme/index.hbs
+++ b/docs/website_files/theme/index.hbs
@@ -131,6 +131,18 @@
                             <i class="fa fa-search"></i>
                         </button>
                         {{/if}}
+                        <div class="version-picker">
+                            <div class="dropdown">
+                                <div class="select">
+                                    <span></span>
+                                    <i class="fa fa-chevron-down"></i>
+                                </div>
+                                <input type="hidden" name="version">
+                                <ul class="dropdown-menu">
+                                    <!-- Versions will be added dynamically in version-picker.js -->
+                                </ul>
+                            </div>
+                        </div>      
                     </div>
 
                     <h1 class="menu-title">{{ book_title }}</h1>
@@ -309,4 +321,4 @@
         {{/if}}
 
     </body>
-</html>
\ No newline at end of file
+</html>