layout |
---|
default |
In the table below...
- Clicking a size link downloads the data in the indicated format.
- Clicking a title or image link gives more info about the download.
{% assign pres_coll = 0 %} {% for coll in site.collections %} {% if coll.label == "presentations" %} {% assign pres_coll = coll %} {% break %} {% endif %} {% endfor %}
{% assign ncols = pres_coll.formats | size | minus: 1 %}
{% for i in (0..ncols) %} {% endfor %}{% for pres in site.presentations %}
{% assign len = pres.relative_path | size %} {% assign len2 = len | minus: 3 %} {% assign new_relative_path = pres.relative_path | truncate: len2, "" | remove_first: "_" %}
{% if pres.has_image %} {% else %} {% endif %}{% for i in (0..ncols) %}
{% assign nksize = pres.nbytes[i] | divided_by: 1000 %}
{% assign nMsize = pres.nbytes[i] | divided_by: 1000000 %}
{% if nksize < 1000 %}
{% assign nsize = nksize | append: "KB" %}
{% else %}
{% assign nsize = nMsize | append: "MB" %}
{% endif %}
{% if nksize > 0 %}
<td style="text-align: right"><a href="{{ site.rawdata_baseurl }}/bindocs/{{ pres.stem }}{{pres_coll.formats[i]}}?raw=true" title="Click to download {{pres_coll.formats[i]}} file now">{{ nsize }}</a></td>
{% else %}
<td style="text-align: right">N/A</td>
{% endif %}
{% endfor %}
{% endfor %}
Title | Thumbnail | {{pres_coll.formats[i]}} |
---|---|---|
{{ pres.title }} | None |