1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-07-03 11:53:42 +02:00

_layouts/package.html: show sizes with suffixes :)

This commit is contained in:
Henrik Hautakoski 2019-12-03 15:23:47 +01:00
parent ca1a1ba2a1
commit e58eb5de81

View file

@ -23,7 +23,7 @@ layout: default
<table> <table>
<tr> <tr>
<th>Version</th> <th>Version</th>
<th>Size (Bytes)</th> <th>Size</th>
<th>sha256</th> <th>sha256</th>
</tr> </tr>
{% for version in page.Versions %} {% for version in page.Versions %}
@ -33,7 +33,10 @@ layout: default
{{ version[0] }} {{ version[0] }}
</a> </a>
</td> </td>
<td>{{ version[1].Size }}</td> <td>
{% assign tmpSize = version[1].Size %}
{% include size.html input=tmpSize %}
</td>
<td>{{ version[1].SHA256 }}</td> <td>{{ version[1].SHA256 }}</td>
</tr> </tr>
{% endfor %} {% endfor %}