Commit 001ae748 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

‘reversed’ tag of ol not supported by IE

parent edf491d1
...@@ -5,16 +5,17 @@ title: Working Papers ...@@ -5,16 +5,17 @@ title: Working Papers
# Latest Dynare Working Papers # Latest Dynare Working Papers
{% for wp in site.data.wp %} {% for wp in site.data.wp %}
{% assign latestwp = wp.number %} {% assign wpn = wp.number %}
{% break %} {% break %}
{% endfor %} {% endfor %}
<ol reversed start="{{ latestwp }}"> <ol>
{% for wp in site.data.wp limit:5 %} {% for wp in site.data.wp limit:5 %}
<li> <li value = "{{ wpn }}">
{{ wp.authors }} ({{ wp.year }}), "<a href="{{ wp.url }}">{{ wp.title }}</a>" {{ wp.authors }} ({{ wp.year }}), "<a href="{{ wp.url }}">{{ wp.title }}</a>"
{% if wp.source_url %}(<a href="{{ wp.source_url }}">source</a>){% endif %} {% if wp.source_url %}(<a href="{{ wp.source_url }}">source</a>){% endif %}
{% if wp.data_url %}(<a href="{{ wp.data_url }}">data</a>){% endif %} {% if wp.data_url %}(<a href="{{ wp.data_url }}">data</a>){% endif %}
{% assign wpn = wpn | minus:1 %}
</li> </li>
{% endfor %} {% endfor %}
</ol> </ol>
......
...@@ -5,16 +5,17 @@ title: Working Papers ...@@ -5,16 +5,17 @@ title: Working Papers
# Dynare Working Papers # Dynare Working Papers
{% for wp in site.data.wp %} {% for wp in site.data.wp %}
{% assign latestwp = wp.number %} {% assign wpn = wp.number %}
{% break %} {% break %}
{% endfor %} {% endfor %}
<ol reversed start="{{ latestwp }}"> <ol>
{% for wp in site.data.wp %} {% for wp in site.data.wp %}
<li> <li value = "{{ wpn }}">
{{ wp.authors }} ({{ wp.year }}), "<a href="{{ wp.url }}">{{ wp.title }}</a>" {{ wp.authors }} ({{ wp.year }}), "<a href="{{ wp.url }}">{{ wp.title }}</a>"
{% if wp.source_url %}(<a href="{{ wp.source_url }}">source</a>){% endif %} {% if wp.source_url %}(<a href="{{ wp.source_url }}">source</a>){% endif %}
{% if wp.data_url %}(<a href="{{ wp.data_url }}">data</a>){% endif %} {% if wp.data_url %}(<a href="{{ wp.data_url }}">data</a>){% endif %}
{% assign wpn = wpn | minus:1 %}
</li> </li>
{% endfor %} {% endfor %}
</ol> </ol>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment