Fix missing semver qualifier in templates
This commit is contained in:
parent
6c6e9a3f7e
commit
23cd51fc95
1 changed files with 9 additions and 4 deletions
|
|
@ -1,9 +1,14 @@
|
|||
{% if graph.meta.version %}
|
||||
{% set en_version = graph.meta.version.major
|
||||
~ "." ~ graph.meta.version.minor
|
||||
~ "." ~ graph.meta.version.patch %}
|
||||
{% set en_version =
|
||||
graph.meta.version.major
|
||||
~ "." ~ graph.meta.version.minor
|
||||
~ "." ~ graph.meta.version.patch
|
||||
%}
|
||||
{% if graph.meta.version.qualifier %}
|
||||
{% set en_version = en_version ~ "-" ~ graph.meta.version.qualifier %}
|
||||
{% endif -%}
|
||||
{% else %}
|
||||
{% set en_version = "?.?.?" %}
|
||||
{% set en_version = "?.?.?" %}
|
||||
{% endif -%}
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue