hebrew support
This commit is contained in:
parent
513ceccdf2
commit
ce7ab0c862
14 changed files with 157 additions and 35 deletions
14
templates/partial/related_posts.html
Normal file
14
templates/partial/related_posts.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% if 'pelican.plugins.related_posts' in PLUGINS %}
|
||||
{% if article.related_posts %}
|
||||
<div class="related-posts">
|
||||
<h5>{{ _('You might enjoy') }}</h5>
|
||||
<ul>
|
||||
{% for related_post in article.related_posts %}
|
||||
<li>
|
||||
<a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue