This repository was archived by the owner on Nov 19, 2024. It is now read-only.
File tree 1 file changed +12
-17
lines changed
1 file changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -15,40 +15,35 @@ title: What's new on DevDocs
15
15
16
16
{% assign grouped_by_year = entries | group_by_exp: "entry", "entry.date | date: '%Y'" %}
17
17
18
- {% for year_group in grouped_by_year limit:2 %}
18
+ {% for group in grouped_by_year limit:2 %}
19
19
20
- {% assign grouped_by_month = year_group.items | group_by_exp: "entry", "entry.date | date: '%B'" %}
21
- ## {{ year_group.name }}
22
-
23
- {% for month_group in grouped_by_month %}
24
- ### {{ month_group.name }}
25
-
26
- {% assign grouped_by_date = month_group.items | group_by: "date" %}
27
-
28
- {% for date_group in grouped_by_date %}
29
- #### {{ date_group.name }}
20
+ ## {{ group.name }}
30
21
31
22
<table >
32
23
<thead >
33
24
<tr>
34
25
<th>Description</th>
35
26
<th>Versions</th>
36
27
<th>Type</th>
37
- <th>Pull request </th>
28
+ <th>Date </th>
38
29
</tr>
39
30
</thead >
40
31
<tbody >
41
- {% for item in date_group .items %}
32
+ {% for item in group .items %}
42
33
<tr >
43
34
<td >{{ item.description | markdownify }}</td >
44
35
<td >{{ item.versions }}</td >
45
36
<td >{{ item.type }}</td >
46
- <td ><a href =" {{ item.link }} " >{{ item.link | split: "/" | last }}</a ></td >
37
+ <td >
38
+ {%- if item.link -%}
39
+ <a href =" {{ item.link }} " >{{ item.date | date: "%B  ; %e" }}</a >
40
+ {%- else -%}
41
+ {{ item.date | date: "%B  ; %e" }}
42
+ {%- endif -%}
43
+ </td >
47
44
</tr >
48
45
{% endfor %}
49
46
</tbody >
50
47
</table >
51
- {% endfor %}<!-- date_group -->
52
- {% endfor %}<!-- month_group -->
53
48
54
- {% endfor %}<!-- year_group -->
49
+ {% endfor %}
You can’t perform that action at this time.
0 commit comments