1
This commit is contained in:
15
Yes.Blog/wwwroot/defaulttheme/_Pagination.liquid
Normal file
15
Yes.Blog/wwwroot/defaulttheme/_Pagination.liquid
Normal file
@@ -0,0 +1,15 @@
|
||||
<nav class="pagination">
|
||||
|
||||
|
||||
{% for page in (1..Model.Articles.TotalPage) %}
|
||||
{% if page == Model.Articles.PageIndex %}
|
||||
<a class="enabled current" href="?page={{ page }}">{{ page }}</a>
|
||||
{% else %}
|
||||
|
||||
<a class="enabled" href="?page={{ page }}">{{ page }}</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
|
||||
</nav>
|
||||
Reference in New Issue
Block a user