_layouts/post.html in jekyll-theme-mehdix-rtl-3.2.0 vs _layouts/post.html in jekyll-theme-mehdix-rtl-4.0.0
- old
+ new
@@ -45,25 +45,25 @@
{% endif %}
</small>
<nav class="pagination">
{% if page.next %}
- <a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">قبلی</a>
+ <a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title }}">قبلی</a>
{% else %}
<a href="#" class="pagination--pager disabled">قبلی</a>
{% endif %}
{% if page.previous %}
- <a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">بعدی </a>
+ <a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title }}">بعدی </a>
{% else %}
<a href="#" class="pagination--pager disabled">بعدی </a>
{% endif %}
</nav>
<section>
- {% if site.comment_system == 'static' %}
+ {% if site.comments.type == 'static' %}
{% include static_comments.html %}
- {% elsif site.comment_system == 'disqus' %}
+ {% elsif site.comments.type == 'disqus' %}
{% include disqus.html %}
{% endif %}
</section>
</article>