_layouts/post.html in jekyll-theme-mehdix-rtl-0.1.16 vs _layouts/post.html in jekyll-theme-mehdix-rtl-0.1.17

- old
+ new

@@ -1,40 +1,42 @@ --- layout: default --- <div class="post"> - <header class="post-header"> <h1 class="post-title">{{ page.title }}</h1> <p class="post-meta"> - <span class="date">{{ page.date | jdate: "%A %d %b %Y" | habify}}</span> - {% if page.meta %} • {{ page.meta }}{% endif %} + <span class="date">{{ page.date | jdate: "%A %d %b %Y" | habify}}</span> {% if page.meta %} • {{ page.meta }}{% endif %} </p> </header> - <article class="post-content"> {{ content }} </article> - + {% if site.disqus_shortname %} {% include disqus.html %} {% endif %} <small id="post-tags"> {% for tag in page.tags %} <i class="icon-tags"></i> <a rel="tag" href="{{ tag | tag_url }}">{{tag}}</a> &nbsp; {% endfor %} </small> - <div style="border-top:1px dotted;"> - <p> - {% if page.next %} - <a href="{{ page.next.url | absolute_url }}" style="float: left"> {{ page.next.title }} >> </a> - {% endif %} - {% if page.previous %} - <a href="{{ page.previous.url | absolute_url }}" style="margin-right:0px;">&#60&#60 {{ page.previous.title }}</a> - {% endif %} - </p> - </div> + <nav class="pagination"> + {% if page.previous %} + <a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">قبلی </a> + {% else %} + <a href="#" class="pagination--pager disabled"">قبلی </a> + {% endif %} - {% if site.disqus_shortname %} - {% include disqus.html %} - {% endif %} + {% if page.next %} + <a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">بعدی</a> + {% else %} + <a href="#" class="pagination--pager disabled"">بعدی</a> + {% endif %} + </nav> -</div> +{% if site.comment_system == 'static' %} + {% include static_comments.html %} +{% elsif site.coment_system == 'disqus' %} + {% include disqus.html %} +{% endif %} + +</div> \ No newline at end of file