Add rel=prev, rel=next to pagination links.

This commit is contained in:
Imran Sobir 2017-02-09 18:11:17 +05:00
parent a15aa9eade
commit d21585f603

View File

@ -83,9 +83,9 @@ tr:nth-child(odd) {
</tbody>
</table>
<span class="pagination-link"><a href="qute://history/?date={{prev_date.strftime("%Y-%m-%d")}}">Previous</a></span>
<span class="pagination-link"><a href="qute://history/?date={{prev_date.strftime("%Y-%m-%d")}}" rel="prev">Previous</a></span>
{% if today >= next_date %}
<span class="pagination-link"><a href="qute://history/?date={{next_date.strftime("%Y-%m-%d")}}">Next</a></span>
<span class="pagination-link"><a href="qute://history/?date={{next_date.strftime("%Y-%m-%d")}}" rel="next">Next</a></span>
{% endif %}
{% endblock %}