Keep version in header, only show selector if LAMMPS_WEBSITE_BUILD is set

This commit is contained in:
Richard Berger
2021-05-25 17:15:17 -04:00
parent cf18ec6cc6
commit a3a2bdc8f6
2 changed files with 10 additions and 4 deletions

View File

@ -138,6 +138,10 @@
{% if READTHEDOCS and current_version %}
{%- set nav_version = current_version %}
{% endif %}
{% if nav_version %}
<div class="lammps_version">Version: <b>{{ nav_version }}</b></div>
<div class="lammps_release">git info: {{ release }}</div>
{% endif %}
{% endif %}
{% include "searchbox.html" %}