File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,23 @@ <h1>Migration Guides</h1>
7
7
{% assign doclist = site.migrations | sort: 'version_counter' | where: 'unversion_counter', nil %}
8
8
< ul >
9
9
{% for doc in doclist %}
10
+ {% if doc.lts == true %}
11
+ {% assign lts = ' LTS ' %}
12
+ {% else %}
13
+ {% assign lts = '' %}
14
+ {% endif %}
15
+
10
16
{% if doc.proposed_version %}
11
17
{% assign comment = ', will be ' | append: doc.proposed_version %}
12
18
{% else %}
13
- {% assign comment = '' %}
19
+ {% if doc.date != site.time %}
20
+ {% assign pretty_date = doc.date | date: "%-d %B %Y" %}
21
+ {% assign comment = ' – released on ' | append: pretty_date %}
22
+ {% else %}
23
+ {% assign comment = ' – to be released' %}
24
+ {% endif %}
14
25
{% endif %}
15
- < li > < a href ="{{ site.baseurl }}{{ doc.url }} "> {{ doc.version }}</ a > {{ comment }}</ li >
26
+ < li > < a href ="{{ site.baseurl }}{{ doc.url }} "> {{ doc.version }}</ a > < strong > {{lts}} </ strong > {{ comment }}</ li >
16
27
{% endfor %}
17
28
</ ul >
18
29
You can’t perform that action at this time.
0 commit comments