Sha256: cec9dea0df90cf7a661bdc91aafe63b79acb471e68c7c84107901ba5ee5880bb
Contents?: true
Size: 1.32 KB
Versions: 21
Compression:
Stored size: 1.32 KB
Contents
--- layout: default --- <h1 class="post-list-header">مقالات</h1> <ul class="post-list"> {% for post in paginator.posts %} <li class="post-list-item"> <!--span class="meta date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span--> <h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2> {{ post.content | strip_html | truncatewords: 35 }} </li> {% endfor %} {% if paginator.total_pages > 1 %} <nav class="a-pagination"> {% if paginator.previous_page %} <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"><i class="fas fa-forward"></i></a> {% endif %} {% for page in (1..paginator.total_pages) %} {% if page == paginator.page %} <span class="is-active">{{ page | habify}}</span> {% elsif page == 1 %} <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page | habify }}</a> {% else %} <a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page | habify }}</a> {% endif %} {% endfor %} {% if paginator.next_page %} <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"><i class="fas fa-backward"></i></a> {% endif %} </nav> {% endif %} </ul>
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-mehdix-rtl-1.0.0 | _layouts/home.html |