WEB: Fixing whatsnew link in the home page (version was hardcoded) (#… · pandas-dev/pandas@3b6915e (original) (raw)

Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@
With the support of:
63 63 {% if releases %}
64 64 <h4>Latest version: {{ releases[0].name }}</h4>
65 65 <ul>
66 -<li><a href="docs/whatsnew/v1.0.0.html">What's new in {{ releases[0].name }}</a></li>
66 +<li><a href="docs/whatsnew/v{{ releases[0].name }}.html">What's new in {{ releases[0].name }}</a></li>
67 67 <li>Release date:
{{ releases[0].published.strftime("%b %d, %Y") }}</li>
68 68 <li><a href="{{ base_url}}/docs/">Documentation (web)</a></li>
69 69 <li><a href="{{ base_url }}/docs/pandas.pdf">Documentation (pdf)</a></li>