hebrew support

This commit is contained in:
Alexandre Vicenzi 2022-08-31 19:46:10 +02:00 committed by Ds886
parent 513ceccdf2
commit ce7ab0c862
14 changed files with 157 additions and 35 deletions

View file

@ -68,42 +68,14 @@
</div>
{% endif %}
{% include "partial/series.html" %}
{% include "partial/neighbors.html" %}
{% if article.related_posts %}
<div class="related-posts">
<h4>{{ _('You might enjoy') }}</h4>
<ul class="related-posts">
{% for related_post in article.related_posts %}
<li><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></li>
{% endfor %}
</ul>
</div>
{% elif ADD_THIS_ID %}
<div class="addthis_relatedposts_inline"></div>
{% endif %}
{% include "partial/related_posts.html" %}
{% if article.series %}
<div class="related-posts">
{% set text = SERIES_TEXT|default('Part %(index)s of the %(name)s series') %}
<h4>{{ text|format(index=article.series.index, name=article.series.name) }}</h4>
{% if article.series.all_previous %}
<h5>Previous articles</h5>
<ul>
{% for article in article.series.all_previous %}
<li><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if article.series.all_next %}
<h5>Next articles</h5>
<ul>
{% for article in article.series.all_next %}
<li><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
{% if ADD_THIS_ID %}
<div class="addthis_relatedposts_inline"></div>
{% endif %}
{% if GOOGLE_ADSENSE and GOOGLE_ADSENSE.ads.article_bottom %}
@ -117,6 +89,7 @@
{% endif %}
{% include "partial/disqus.html" %}
{% include "partial/isso.html" %}
</article>
{% endblock %}