Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

article-version-switcher.html 1.2 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  1. {% if page.permalinks and page.permalinks.length > 1 %}
  2. <details class="dropdown-withArrow d-inline-block details details-reset mb-1 position-relative close-when-clicked-outside article-versions">
  3. <summary class="f4 h5-mktg btn-outline-mktg btn-mktg p-2">
  4. <!-- GitHub.com, Enterprise Server 2.16, etc -->
  5. <span class="d-md-none d-xl-inline-block">{% data ui.pages.article_version %}</span> {{ allVersions[currentVersion].versionTitle }}
  6. <svg class="arrow ml-1" width="14px" height="8px" viewBox="0 0 14 8" xml:space="preserve" fill="none" stroke="#1277eb"><path d="M1,1l6.2,6L13,1"></path></svg>
  7. </summary>
  8. <div class="nav-dropdown position-absolute bg-white rounded-1 px-4 py-3 top-7 box-shadow-large" style="z-index: 6; width: 210px;">
  9. {% for permalink in page.permalinks %}
  10. <a
  11. href="{{ permalink.href }}"
  12. class="d-block py-2 {% if currentPath == permalink.href %}link-blue active{% else %}link-gray-dark no-underline{% endif %}"
  13. >
  14. {{ allVersions[permalink.pageVersion].versionTitle }}</a>
  15. {% endfor %}
  16. <a class="f6 no-underline text-gray-light pt-1" href="/enterprise-server-releases">See all Enterprise releases</a>
  17. </div>
  18. </details>
  19. {% endif %}
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...