Skip to content

Commit

Permalink
Also display version for Latest in guide pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Mar 3, 2021
1 parent 729c581 commit 7183777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/guides.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="text-caps">{{page.title}} {{page.docversion}}</h1>
{% endfor %}
{% endfor %}
{% if guide_present_in_version %}
<option value="{{ version }}" {% if docversion == version %}selected{% endif %}>{{ version | capitalize }}</option>
<option value="{{ version }}" {% if docversion == version %}selected{% endif %}>{% if version == 'latest' %}{{ site.data.versions.quarkus.version | replace_regex: "\.[0-9+]\.Final", "" }} - {% endif %}{{ version | capitalize }}</option>
{% endif %}
{% endfor %}
</select>
Expand Down

0 comments on commit 7183777

Please sign in to comment.