_layouts/home.html in jekyll-theme-mehdix-rtl-0.1.5 vs _layouts/home.html in jekyll-theme-mehdix-rtl-0.1.6

- old
+ new

@@ -1,44 +1,31 @@ --- layout: default --- - <div class="home"> - <h1 class="page-heading"></h1> <ul class="post-list"> {% if paginator %} - {% for post in paginator.posts %} <li> <span class="post-meta"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span> - - <h2> - <a class="post-link" href="{{ post.url | absolute_url }}">{{ post.title }}</a> - </h2> + <h2><a class="post-link" href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2> {{ post.content | strip_html | truncatewords: 35 }} </li> {% endfor %} - {% else %} - {% for post in site.posts %} <li> <span class="post-meta"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span> - - <h2> - <a class="post-link" href="{{ post.url | absolute_url }}">{{ post.title }}</a> - </h2> + <h2><a class="post-link" href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2> {{ post.content | strip_html | truncatewords: 35 }} </li> {% endfor %} - {% endif %} </ul> - <div class="pagination"> <p> {% if paginator.next_page %} <a href="{{ paginator.next_page_path | absolute_url }}" class="next" style="float: left"> بعدی >> </a> {% endif %} @@ -46,7 +33,6 @@ {% if paginator.previous_page %} <a href="{{ paginator.previous_page_path | absolute_url }}" class="previous" style="margin-right:0px;">&#60&#60 قبلی</a> {% endif %} </p> </div> - </div> \ No newline at end of file