Logo
Explore Help
Sign In
NuKVM/vagrant-libvirt
3
0
Fork 0
You've already forked vagrant-libvirt
mirror of https://github.com/vagrant-libvirt/vagrant-libvirt.git synced 2025-02-25 18:55:27 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
86fc5f05d002d7a89398d82d48f9eef81ab27455
vagrant-libvirt/docs/_includes/header_custom.html

8 lines
315 B
HTML
Raw Normal View History

Make switcher JavaScript unparsed and reduce elements (#1539) Avoid the need to parse the main version switching menu creation and handling code by moving the site constants to a separate file. Additionally move more of the element construction into the JavaScript code to make it closer to a web component and facilitate more control by a common script to be loaded by all published versions.
2022-08-12 18:30:57 +01:00
<script src="{% asset "js/site_constants.js" @path %}"></script>
<div id="plugin-version-menu" class="site-footer"></div>
Load plugin versions menu always from latest (#1543) Always use the same version of the plugin versions menu script, loading from the latest across all releases. This is to allow for updates to this component to be deployed across any release at the same time to allow for a consistent switching experience.
2022-08-13 15:28:17 +01:00
{%- assign basePath = "" %}
{%- if site.baseurl.size != 0 %}
{%- assign basePath = "/vagrant-libvirt" %}
{%- endif %}
<script src="{{ basePath }}/assets/js/plugin_versions_menu.js"></script>
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 21ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API