Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit dfaf36f

Browse files
committed
Update template
1 parent 74c3b96 commit dfaf36f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/whats-new.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,18 @@ title: What's new on DevDocs
4040
<tbody>
4141
{% for item in date_group.items %}
4242
<tr>
43-
<td>{{ item.description | markdownify }}</td>
43+
<td>
44+
{{ item.description | markdownify }}
45+
{% if item.membership == false %}
46+
<p><i>Community contribution by {{ item.contributor }}</i></p>
47+
{% endif %}
48+
</td>
4449
<td>{{ item.versions }}</td>
4550
<td>{{ item.type }}</td>
46-
{% if item.link contains "pull" %}
47-
<td><a href="{{ item.link }}">{{ item.link | split: "/" | last }}</a></td>
51+
{% if item.link contains "-commerce" %}
52+
<td><a href="https://github.com/magento/devdocs/commit/{{ item.merge_commit }}">{{ item.merge_commit | slice: 0, 6 }}</a></td>
4853
{% else %}
49-
<td><a href="{{ item.link }}">{{ item.link | split: "/" | last | slice: 0, 6 }}</a></td>
54+
<td><a href="{{ item.link }}">{{ item.link | split: "/" | last }}</a></td>
5055
{% endif %}
5156
</tr>
5257
{% endfor %}

0 commit comments

Comments
 (0)